We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd2863f commit ec56b5fCopy full SHA for ec56b5f
src/WorkspaceManager.vala
@@ -229,6 +229,10 @@ public class Gala.WorkspaceManager : Object {
229
230
workspaces_marked_removed.add (workspace);
231
232
+ // We might be here because of a signal emition from the ws machinery (e.g. workspace.window_removed).
233
+ // Often the function emitting the signal doesn't take a ref on the ws so if we remove it right
234
+ // away it will be freed. But because the function often accesses it after the singal emition this leads
235
+ // to warnings and in some cases a crash.
236
Idle.add (() => remove_workspace (workspace));
237
}
238
0 commit comments