From 85fe9d17138cee304e1d99d4a63d3e6689f0266e Mon Sep 17 00:00:00 2001 From: Thulinma Date: Mon, 15 Dec 2014 18:13:38 +0100 Subject: [PATCH] Fixed slow input buffer shutdown. --- src/input/input_buffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/input/input_buffer.cpp b/src/input/input_buffer.cpp index 71ba881b..dd2666be 100644 --- a/src/input/input_buffer.cpp +++ b/src/input/input_buffer.cpp @@ -323,7 +323,7 @@ namespace Mist { std::string strName = config->getString("streamname"); Util::sanitizeName(strName); strName = strName.substr(0,(strName.find('+'))); - IPC::sharedPage serverCfg("!mistConfig", 4*1024*1024); ///< Contains server configuration and capabilities + IPC::sharedPage serverCfg("!mistConfig", 4*1024*1024, false, false); ///< Contains server configuration and capabilities IPC::semaphore configLock("!mistConfLock", O_CREAT | O_RDWR, ACCESSPERMS, 1); configLock.wait(); DTSC::Scan streamCfg = DTSC::Scan(serverCfg.mapped, serverCfg.len).getMember("streams").getMember(strName);