shm: keep mng segment around when skipping cleanup

This commit is contained in:
Alexey Rybalchenko 2022-01-12 19:31:41 +01:00
parent 49dc54c5c9
commit a684a33f70

View File

@ -777,8 +777,6 @@ class Manager
if (lastRemoved) { if (lastRemoved) {
if (!fNoCleanup) { if (!fNoCleanup) {
Monitor::Cleanup(ShmId{fShmId}); Monitor::Cleanup(ShmId{fShmId});
} else {
Monitor::RemoveObject("fmq_" + fShmId + "_mng");
} }
} }
} }