Unfolded a function for debugging purpose.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@979 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -24,7 +24,11 @@
|
|||||||
class LooperQuitter {
|
class LooperQuitter {
|
||||||
public:
|
public:
|
||||||
inline LooperQuitter(BLooper *looper) : fLooper(looper) {}
|
inline LooperQuitter(BLooper *looper) : fLooper(looper) {}
|
||||||
inline ~LooperQuitter() { fLooper->Lock(); fLooper->Quit(); }
|
inline ~LooperQuitter()
|
||||||
|
{
|
||||||
|
fLooper->Lock();
|
||||||
|
fLooper->Quit();
|
||||||
|
}
|
||||||
|
|
||||||
private:
|
private:
|
||||||
BLooper *fLooper;
|
BLooper *fLooper;
|
||||||
|
|||||||
Reference in New Issue
Block a user