shm: keep mng segment around when skipping cleanup

This commit is contained in:
Alexey Rybalchenko 2022-01-12 19:31:41 +01:00
parent f79a0714b4
commit ddf9bc7272

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");
} }
} }
} }