Browse Source

Fix closing server on ios

nordsoft 3 years ago
parent
commit
12d4204334
1 changed files with 4 additions and 0 deletions
  1. 4 0
      server/CVCMIServer.cpp

+ 4 - 0
server/CVCMIServer.cpp

@@ -1013,6 +1013,10 @@ static void handleCommandOptions(int argc, char * argv[], boost::program_options
 			std::cerr << "Failure during parsing command-line options:\n" << e.what() << std::endl;
 		}
 	}
+	
+#ifdef SINGLE_PROCESS_APP
+	options.emplace("run-by-client", po::variable_value{true, true});
+#endif
 
 	po::notify(options);