Origin commit data
------------------
Branch: ni/coolstream
Commit: c28991d0fc
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-02-17 (Fri, 17 Feb 2017)


------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-02-17 17:44:29 +01:00
2 changed files with 17 additions and 10 deletions

View File

@@ -121,17 +121,24 @@ CMoviePlayerGui::CMoviePlayerGui()
CMoviePlayerGui::~CMoviePlayerGui()
{
//playback->Close();
if (this == instance_mp)
stopPlayBack();
delete moviebrowser;
moviebrowser = NULL;
delete filebrowser;
filebrowser = NULL;
delete bookmarkmanager;
bookmarkmanager = NULL;
delete playback;
playback = NULL;
if(moviebrowser){
delete moviebrowser;
moviebrowser = NULL;
}
if(filebrowser){
delete filebrowser;
filebrowser = NULL;
}
if(bookmarkmanager){
delete bookmarkmanager;
bookmarkmanager = NULL;
}
if(playback){
delete playback;
playback = NULL;
}
if (this == instance_mp) {
delete instance_bg;
instance_bg = NULL;