Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
GSoC
GSoC2018
macOS
vlc
Commits
b409f07d
Commit
b409f07d
authored
Dec 02, 2011
by
Felix Paul Kühne
Browse files
macosx: don't do AppKit stuff if you're unsure that it's on the main thread..
parent
f063b082
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/macosx/intf.m
View file @
b409f07d
...
...
@@ -636,7 +636,7 @@ static VLCMain *_o_sharedMainInstance = nil;
[[[
NSWorkspace
sharedWorkspace
]
notificationCenter
]
addObserver
:
self
selector
:
@selector
(
computerWillSleep
:
)
name:
NSWorkspaceWillSleepNotification
object
:
nil
];
[
NSThread
detachNewThreadSelector
:
@selector
(
lookForCrashLog
)
toTarget
:
self
withObject
:
nil
];
[
[
VLCMain
sharedInstance
]
performSelectorOnMainThread
:
@selector
(
lookForCrashLog
)
withObject
:
nil
waitUntilDone
:
NO
];
}
-
(
void
)
initStrings
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment