-
Notifications
You must be signed in to change notification settings - Fork 462
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
locations: handle lack of dock manager in GetApps() #2295
Conversation
Example stack traces (taken with extra instrumentation):
In the Unite extension (which then terminates):
|
This method may be called in situations where there is no dock manager, so handle it gracefully, rather than letting an exception propagate. In some situations, this method may end up getting called in the context of another extension and the un-caught exception can terminate that extension.
f22e7f1
to
b42309b
Compare
Fixes #2297 |
Mhmh, the real bug is why the injection that is created https://github.com/micheleg/dash-to-dock/blob/master/docking.js#L1887C17-L1893 doesn't get disabled when the dock has been destroyed, since that's what it should happen. |
I only ever saw this on a multi monitor set up, and I think it was screen lock that triggered it (where everything gets torn down and recreated). On my single monitor setup, I've never seen it happen. |
Ok, found the root problem, thanks for the effort, though! :) See #2311 |
This method may be called in situations where there is no dock manager, so handle it gracefully, rather than letting an exception propagate.
In some situations, this method may end up getting called in the context of another extension and the un-caught exception can terminate that extension.