Stub player.
[dcpomatic.git] / src / lib / server.cc
index 1fb3d7d471863a2c3e81ec3c65480c131d2ada47..722b1c81130bde8a81856526c3ad01c357153f3e 100644 (file)
@@ -40,7 +40,7 @@ Server::~Server ()
        }
 
        _acceptor.close ();
-       _io_service.stop ();
+       stop ();
 }
 
 void
@@ -74,3 +74,9 @@ Server::handle_accept (shared_ptr<Socket> socket, boost::system::error_code cons
        handle (socket);
        start_accept ();
 }
+
+void
+Server::stop ()
+{
+       _io_service.stop ();
+}