Attempt to fix reload bug

This commit is contained in:
Thulinma 2022-08-09 14:20:10 +02:00
parent 5bd58dff03
commit 7a4ac15fcf

View file

@ -1284,7 +1284,7 @@ namespace DTSC{
}
char pageName[NAME_BUFFER_SIZE];
if (stream.isReload()){
if (stream.isReload() || stream.isExit()){
INFO_MSG("Reloading entire metadata");
streamPage.close();
snprintf(pageName, NAME_BUFFER_SIZE, SHM_STREAM_META, streamName.c_str());