diff --git a/headers/private/shared/Thread.h b/headers/private/shared/Thread.h index 79d062fbf7..7a47213dd9 100644 --- a/headers/private/shared/Thread.h +++ b/headers/private/shared/Thread.h @@ -365,11 +365,6 @@ MouseDownThread::MouseDownThread(View* view, template MouseDownThread::~MouseDownThread() { - if (fThreadID > 0) { - kill_thread(fThreadID); - // dead at this point - TRESPASS(); - } } @@ -393,7 +388,6 @@ MouseDownThread::TrackBinder(void* castToThis) MouseDownThread* self = static_cast(castToThis); self->Track(); // dead at this point - TRESPASS(); return B_OK; } @@ -427,9 +421,9 @@ MouseDownThread::Track() } delete this; - ASSERT(!"should not be here"); } + } // namespace BPrivate using namespace BPrivate;