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

  • From: "jackburton" <trac@xxxxxxxxxxxx>
  • Date: Sat, 08 Aug 2015 09:37:19 -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:23 ttcoder]:

[http://code.metager.de/source/xref/haiku/src/kits/app/Looper.cpp#134
close_port()] call is indeed not executed, even though the code path looks
like it should be.

It seems strange at least that delete_port would be called for
fOwnsPort=false. Maybe the check should be inverted?

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

Other related posts: