dont crash when opening another file
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@17363 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
c04b6d2dfb
commit
2fd148f926
@ -91,6 +91,9 @@ Controller::SetTo(const entry_ref &ref)
|
||||
{
|
||||
acquire_sem(fAudioPlaySem);
|
||||
acquire_sem(fVideoPlaySem);
|
||||
|
||||
StopAudioPlayback();
|
||||
StopVideoPlayback();
|
||||
|
||||
fAudioTrackList->MakeEmpty();
|
||||
fVideoTrackList->MakeEmpty();
|
||||
|
Loading…
x
Reference in New Issue
Block a user