You must not delete a running looper - you have to quit it.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@19713 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2003-2006, Haiku.
|
||||
* Copyright 2003-2007, Haiku.
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors:
|
||||
@@ -134,7 +134,9 @@ ScreenSaverFilter::~ScreenSaverFilter()
|
||||
watch_node(&fNodeRef, B_STOP_WATCHING, fController);
|
||||
|
||||
be_roster->StopWatching(fController);
|
||||
delete fController;
|
||||
|
||||
if (fController->Lock())
|
||||
fController->Quit();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user