From 9b8f9f7a2e2074b33b50d0444d7d6bb4f1f42829 Mon Sep 17 00:00:00 2001 From: Dario Casalinuovo Date: Thu, 21 Jan 2016 16:21:00 +0100 Subject: [PATCH] Revert "SystemTimeSource: Exit loop when the port is closed" This reverts commit c21a2c7feda5def95e3a7a91b440dc3b0cfc8ccb. --- src/servers/media_addon/SystemTimeSource.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/servers/media_addon/SystemTimeSource.cpp b/src/servers/media_addon/SystemTimeSource.cpp index 2d7cc282ac..bac891a54f 100644 --- a/src/servers/media_addon/SystemTimeSource.cpp +++ b/src/servers/media_addon/SystemTimeSource.cpp @@ -84,6 +84,6 @@ SystemTimeSource::ControlThread() status_t err; do { err = WaitForMessage(B_INFINITE_TIMEOUT); - } while (err != B_BAD_PORT_ID); + } while (err == B_OK || err == B_ERROR); TRACE("SystemTimeSource::ControlThread() exit\n"); }