Commit 5ca93b37 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* stop listening for mouse events before the view is NULL'ified

parent 1519f63f
......@@ -291,6 +291,7 @@ int DeviceCallback( vlc_object_t *p_this, const char *psz_variable,
{
/* XXX waitUntilDone = NO to avoid a possible deadlock when hitting
Command-Q */
[self setAcceptsMouseMovedEvents: NO];
[self setContentView: NULL];
[self performSelectorOnMainThread: @selector(closeReal:)
withObject: NULL waitUntilDone: NO];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment