From d5945a90bae1e2f7ca9c829487df0fc4edbbd85e Mon Sep 17 00:00:00 2001 From: Wolfgang Thaller Date: Sun, 6 May 2018 13:00:31 +0200 Subject: [PATCH] LaunchAPPLServer: fix segment unloading --- LaunchAPPL/Server/LaunchAPPLServer.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/LaunchAPPL/Server/LaunchAPPLServer.cc b/LaunchAPPL/Server/LaunchAPPLServer.cc index dad0fcd772..0b272db9f4 100644 --- a/LaunchAPPL/Server/LaunchAPPLServer.cc +++ b/LaunchAPPL/Server/LaunchAPPLServer.cc @@ -580,7 +580,8 @@ int main() else nullEventCounter++; - stream.idle(); + if(server.state != LaunchServer::State::wait) + stream.idle(); if(server.state == LaunchServer::State::launch) {