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
Steve Lhomme
VLC
Commits
6c62d747
Commit
6c62d747
authored
Nov 11, 2012
by
Felix Paul Kühne
Browse files
macosx: fixed crash when terminating while the progress panel is displayed
parent
04c94d37
Changes
1
Hide whitespace changes
Inline
Side-by-side
modules/gui/macosx/intf.m
View file @
6c62d747
...
...
@@ -478,7 +478,10 @@ void updateProgressPanel (void *priv, const char *text, float value)
void
destroyProgressPanel
(
void
*
priv
)
{
NSAutoreleasePool
*
o_pool
=
[[
NSAutoreleasePool
alloc
]
init
];
[[[
VLCMain
sharedInstance
]
coreDialogProvider
]
performSelectorOnMainThread
:
@selector
(
destroyProgressPanel
)
withObject
:
nil
waitUntilDone
:
YES
];
if
([[
NSApplication
sharedApplication
]
isRunning
])
[[[
VLCMain
sharedInstance
]
coreDialogProvider
]
performSelectorOnMainThread
:
@selector
(
destroyProgressPanel
)
withObject
:
nil
waitUntilDone
:
YES
];
[
o_pool
release
];
}
...
...
Write
Preview
Markdown
is supported
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