Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
medialibrary
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
57
Issues
57
List
Boards
Labels
Service Desk
Milestones
Merge Requests
8
Merge Requests
8
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
VideoLAN
medialibrary
Commits
9caf0210
Commit
9caf0210
authored
Oct 05, 2015
by
Hugo Beauzée-Luyssen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MediaLibrary: Fix a crash if the media library gets released without being initialized
parent
a48f19f9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
src/MediaLibrary.cpp
src/MediaLibrary.cpp
+2
-1
No files found.
src/MediaLibrary.cpp
View file @
9caf0210
...
@@ -59,7 +59,8 @@ MediaLibrary::~MediaLibrary()
...
@@ -59,7 +59,8 @@ MediaLibrary::~MediaLibrary()
// with a log callback set will try to invoke it.
// with a log callback set will try to invoke it.
// We manually call logUnset to ensure that the callback that is about to be deleted will
// We manually call logUnset to ensure that the callback that is about to be deleted will
// not be called anymore.
// not be called anymore.
m_vlcInstance
.
logUnset
();
if
(
m_vlcInstance
.
isValid
()
)
m_vlcInstance
.
logUnset
();
File
::
clear
();
File
::
clear
();
Folder
::
clear
();
Folder
::
clear
();
Label
::
clear
();
Label
::
clear
();
...
...
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