Merge branch 'development' into LTS_development

This commit is contained in:
Thulinma 2015-07-22 09:53:46 +02:00
commit 232fc9ff0a
3 changed files with 11 additions and 5 deletions

View file

@ -133,7 +133,13 @@ namespace Mist {
onFail();
return;
}
if (statsPage.getData()){
statsPage.finish();
}
statsPage = IPC::sharedClient(SHM_STATISTICS, STAT_EX_SIZE, true);
if (userClient.getData()){
userClient.finish();
}
char userPageName[NAME_BUFFER_SIZE];
snprintf(userPageName, NAME_BUFFER_SIZE, SHM_USERS, streamName.c_str());
userClient = IPC::sharedClient(userPageName, PLAY_EX_SIZE, true);