Fixed a narsty little bug that suddenly started rearing its ugly head in
IsMessageWaiting() test #3. fLastMessage wasn't getting initialized to NULL on construction, and the random value was finally biting me. All better now. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@856 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
144039e6c6
commit
d008c62d53
@ -1111,6 +1111,7 @@ void BLooper::InitData()
|
||||
fRunCalled = false;
|
||||
fQueue = new BMessageQueue();
|
||||
fCommonFilters = NULL;
|
||||
fLastMessage = NULL;
|
||||
fPreferred = NULL;
|
||||
fTaskID = B_ERROR;
|
||||
fTerminating = false;
|
||||
|
Loading…
Reference in New Issue
Block a user