[haiku-bugs] Re: [Haiku] #12286: Menus seem to be leaking ports

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Thu, 06 Aug 2015 14:37:24 -0000

#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 jackburton):

Replying to [comment:10 bonefish]:

So, indeed it appears like the menu code leaks (closed) ports. FWIW, I
have an old hrev48150 gcc4-only image lying around, which doesn't show the
issue.

I guess commit 285b7163ad41e00841d0dc28b48fe10902a350bc is the culprit
then, since it changed the code to use MouseDownThread(), which calls
kill_thread instead of wait_for_thread.

--
Ticket URL: <https://dev.haiku-os.org/ticket/12286#comment:13>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: