Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
52576ea5
Commit
52576ea5
authored
Aug 22, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: fixed crash in CoreDialogs when closing the progress panel
parent
1c76df00
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
modules/gui/macosx/coredialogs.m
modules/gui/macosx/coredialogs.m
+2
-2
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+1
-1
No files found.
modules/gui/macosx/coredialogs.m
View file @
52576ea5
...
...
@@ -220,8 +220,8 @@ static VLCCoreDialogProvider *_o_sharedInstance = nil;
-
(
void
)
destroyProgressPanel
{
b_progress_cancelled
=
YES
;
[
o_prog_bar
stopAnimation
:
self
];
[
o_prog_win
close
];
[
o_prog_bar
performSelectorOnMainThread
:
@selector
(
stopAnimation
:)
withObject
:
self
waitUntilDone
:
YES
];
[
o_prog_win
performSelectorOnMainThread
:
@selector
(
close
)
withObject
:
nil
waitUntilDone
:
YES
];
}
-
(
IBAction
)
progDialogAction
:(
id
)
sender
...
...
modules/gui/macosx/intf.m
View file @
52576ea5
...
...
@@ -453,7 +453,7 @@ 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
:
NO
];
[[[
VLCMain
sharedInstance
]
coreDialogProvider
]
destroyProgressPanel
];
[
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