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

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Sat, 08 Aug 2015 13:36:21 -0000

#12286: Menus seem to be leaking ports
-------------------------------------+----------------------------
Reporter: ttcoder | Owner: axeld
Type: bug | Status: new
Priority: blocker | Milestone: R1/beta1
Component: Servers/launch_daemon | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Has a Patch: 0 | Platform: All
-------------------------------------+----------------------------

Comment (by jackburton):

Replying to [comment:25 ttcoder]:

@jackburton the `if (fMsgPort >= 0 && fOwnsPort)` only triggers the
close_port() if `fOwnsPort`==true, that should be the right logic?


Nope, I meant the
{{{
if (!fOwnsPort) {
}}}
at line 146

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

Other related posts: