Skip to content

Commit afa7510

Browse files
committed
fix: actor_exists true when an actorless window is !destroying
1 parent a08804d commit afa7510

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/window.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ export class ShellWindow {
127127
}
128128

129129
actor_exists(): boolean {
130-
return this.meta.get_compositor_private() !== null || !this.destroying;
130+
return !this.destroying && this.meta.get_compositor_private() !== null;
131131
}
132132

133133
private bind_window_events() {

0 commit comments

Comments
 (0)