From 6a75716301764676b53402f54e4d483d09b525aa Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 5 Aug 2002 00:55:13 +0000 Subject: [PATCH] Added TODO items in the destructor. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@579 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kits/app/Looper.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/kits/app/Looper.cpp b/src/kits/app/Looper.cpp index 88a00534fe..b3f68887ac 100644 --- a/src/kits/app/Looper.cpp +++ b/src/kits/app/Looper.cpp @@ -131,6 +131,12 @@ BLooper::~BLooper() } Lock(); + +// TODO: delete fLastMessage; +// In case the looper thread calls Quit() fLast message is not deleted. + +// TODO: Close the message port and read and reply to the remaining messages. + // bonefish: Killing the looper thread doesn't work very well with // BApplication. In fact here it doesn't work too well either. When the // looper thread encounters a _QUIT_ message it deletes the BLooper object