The MessageLooper class did not initialize its fThread member, causing ServerWindow

to rename arbitrary threads. This fixes bug #1122.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@20420 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2007-03-25 12:43:13 +00:00
parent a201ac2cf9
commit 19b0fb934c

View File

@ -1,5 +1,5 @@
/*
* Copyright 2005, Haiku.
* Copyright 2005-2007, Haiku.
* Distributed under the terms of the MIT License.
*
* Authors:
@ -16,7 +16,9 @@
MessageLooper::MessageLooper(const char* name)
: BLocker(name),
fQuitting(false)
fThread(-1),
fQuitting(false),
fDeathSemaphore(-1)
{
}