summaryrefslogtreecommitdiff
path: root/Servers/AudioServer/ASEventLoop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Servers/AudioServer/ASEventLoop.cpp')
-rw-r--r--Servers/AudioServer/ASEventLoop.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Servers/AudioServer/ASEventLoop.cpp b/Servers/AudioServer/ASEventLoop.cpp
index 4df03e522d..3792bba505 100644
--- a/Servers/AudioServer/ASEventLoop.cpp
+++ b/Servers/AudioServer/ASEventLoop.cpp
@@ -7,8 +7,8 @@
ASEventLoop::ASEventLoop()
: m_server(CLocalServer::construct())
{
- unlink("/tmp/asportal");
- m_server->listen("/tmp/asportal");
+ bool ok = m_server->take_over_from_system_server();
+ ASSERT(ok);
m_server->on_ready_to_accept = [this] {
auto client_socket = m_server->accept();
if (!client_socket) {