BLooper: don't delete a launch_daemon port.

* Unless the service is really to be quit, the port should stay around;
  but that decision is to be made by the launch_daemon, not the service
  itself.
This commit is contained in:
Axel Dörfler
2015-07-22 20:40:52 +02:00
parent 4bf862e368
commit 798ad3db30
3 changed files with 13 additions and 7 deletions
+2
View File
@@ -267,6 +267,8 @@ BApplication::BApplication(const char* signature, const char* looperName,
looperName != NULL ? looperName : kDefaultLooperName)
{
_InitData(signature, initGUI, _error);
if (port < 0)
fOwnsPort = false;
}