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

  • From: "waddlesplash" <trac@xxxxxxxxxxxx>
  • Date: Wed, 05 Aug 2015 14:48:21 -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 waddlesplash):

BMenu caches (some of) its windows, so if you open a BMenu it won't
always create a new BWindow.

Right, but in this case, one port is leaked every time you open a menu,
even if it's the same menu (from the same menu bar, etc.)

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

Other related posts: