From 19b0fb934cfdc0db761b715f3862902fd24e5485 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Axel=20D=C3=B6rfler?= Date: Sun, 25 Mar 2007 12:43:13 +0000 Subject: [PATCH] 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 --- src/servers/app/MessageLooper.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/servers/app/MessageLooper.cpp b/src/servers/app/MessageLooper.cpp index a6aaff7240..62360534e4 100644 --- a/src/servers/app/MessageLooper.cpp +++ b/src/servers/app/MessageLooper.cpp @@ -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) { }