Mark window invisible after deleting it
This fixes an issue when destroying VST plugin UIs rather than hiding them. Even though is hidden before destroying it, the vistracker is also destroyed in the same function call, before the event can be processed. The window state remains visible="1"
This commit is contained in:
parent
ace2cc095c
commit
03642d3707
@ -211,6 +211,7 @@ WindowProxy::drop_window ()
|
|||||||
_window = 0;
|
_window = 0;
|
||||||
delete vistracker;
|
delete vistracker;
|
||||||
vistracker = 0;
|
vistracker = 0;
|
||||||
|
_visible = false;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user