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
69e78ded
Commit
69e78ded
authored
Feb 05, 2012
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
macosx: removed hacks which could lead to crashes when quitting VLC
parent
711a4f03
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
modules/gui/macosx/intf.m
modules/gui/macosx/intf.m
+0
-6
No files found.
modules/gui/macosx/intf.m
View file @
69e78ded
...
@@ -692,7 +692,6 @@ static VLCMain *_o_sharedMainInstance = nil;
...
@@ -692,7 +692,6 @@ static VLCMain *_o_sharedMainInstance = nil;
[[
NSNotificationCenter
defaultCenter
]
postNotificationName
:
NSApplicationWillTerminateNotification
object
:
nil
];
[[
NSNotificationCenter
defaultCenter
]
postNotificationName
:
NSApplicationWillTerminateNotification
object
:
nil
];
playlist_t
*
p_playlist
;
playlist_t
*
p_playlist
;
vout_thread_t
*
p_vout
;
int
returnedValue
=
0
;
int
returnedValue
=
0
;
if
(
!
p_intf
)
if
(
!
p_intf
)
...
@@ -714,8 +713,6 @@ static VLCMain *_o_sharedMainInstance = nil;
...
@@ -714,8 +713,6 @@ static VLCMain *_o_sharedMainInstance = nil;
msg_Dbg
(
p_intf
,
"Terminating"
);
msg_Dbg
(
p_intf
,
"Terminating"
);
/* Make sure the intf object is getting killed */
vlc_object_kill
(
p_intf
);
p_playlist
=
pl_Get
(
p_intf
);
p_playlist
=
pl_Get
(
p_intf
);
/* unsubscribe from the interactive dialogues */
/* unsubscribe from the interactive dialogues */
...
@@ -783,9 +780,6 @@ static VLCMain *_o_sharedMainInstance = nil;
...
@@ -783,9 +780,6 @@ static VLCMain *_o_sharedMainInstance = nil;
[
o_mainmenu
releaseRepresentedObjects
:[
NSApp
mainMenu
]];
[
o_mainmenu
releaseRepresentedObjects
:[
NSApp
mainMenu
]];
[
o_mainmenu
release
];
[
o_mainmenu
release
];
/* Kill the playlist, so that it doesn't accept new request
* such as the play request from vlc.c (we are a blocking interface). */
vlc_object_kill
(
p_playlist
);
libvlc_Quit
(
p_intf
->
p_libvlc
);
libvlc_Quit
(
p_intf
->
p_libvlc
);
[
self
setIntf
:
nil
];
[
self
setIntf
:
nil
];
...
...
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