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
725cf4eb
Commit
725cf4eb
authored
Aug 08, 2010
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Always call _exit() at end to avoid buggy exit handlers
Removes the KDE scheduler hack.
parent
c515906b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
11 deletions
+4
-11
bin/vlc.c
bin/vlc.c
+4
-11
No files found.
bin/vlc.c
View file @
725cf4eb
...
...
@@ -242,15 +242,8 @@ out:
for
(
int
i
=
1
;
i
<
argc
;
i
++
)
LocaleFree
(
argv
[
i
]);
#ifdef RTLD_NOLOAD
/* Avoid crash in KIO scheduler cleanup. */
/* This is ugly, but we get way too many crash reports due to this. */
if
(
dlopen
(
"libkio.so.5"
,
RTLD_LAZY
|
RTLD_LOCAL
|
RTLD_NOLOAD
)
!=
NULL
)
{
fprintf
(
stderr
,
"KIO present. Unclean shutdown!
\n
"
" (see http://bugs.kde.org/show_bug.cgi?id=234484 for details)
\n
"
);
_exit
(
0
);
}
#endif
return
0
;
/* Do not run exit handlers. Some of them are buggy (e.g. KDE IO scheduler)
* and crash. Also some will crash because their library may be already
* unloaded (dlclose()). */
_exit
(
0
);
}
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