#12286: Menus seem to be leaking ports
----------------------------------+----------------------------
Reporter: ttcoder | Owner: axeld
Type: bug | Status: new
Priority: high | Milestone: R1/beta1
Component: Kits/Interface Kit | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
----------------------------------+----------------------------
Comment (by ttcoder):
The [http://cgit.haiku-
os.org/haiku/commit/?id=285b7163ad41e00841d0dc28b48fe10902a350bc change]
includes a creation of a MouseDownThread indeed. But maybe that class can
be fixed.
Is it correct to say the class would be fully fixed by removing the
kill_thread() call in dtor, the ASSERT() in Track(), and the TRESPASS() in
the dtor ?
Removing the kill_thread would let the dtor complete cleanly, return
control to Track(), and exit the thread ?
PS - maybe it's time to track that issue in another ticket, as it's
unrelated to the port leak (unless I missed something :-)
--
Ticket URL: <https://dev.haiku-os.org/ticket/12286#comment:15>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.