Remove rm -rf of shared memory file from EqpAlgICEI destructor

The workaround was needed because bipc::string items in shared memory would
segfault on restart when tag names exceeded SSO length. Now that display
data (items, etc.) lives in local-memory DisplayCache and only cold doubles
remain in shared memory, the dangling-allocator bug no longer exists.
Deleting the file also broke mon-cron IPC across restarts.
This commit is contained in:
Huamonarch 2026-05-12 16:17:09 +08:00
parent 973921fc4b
commit 1e70af7a9d

View File

@ -91,8 +91,6 @@ EqpAlgICEI::~EqpAlgICEI() {
if (glob_process_type == ProcessType::kMon) { if (glob_process_type == ProcessType::kMon) {
if (mem_cached_thread_->joinable()) { if (mem_cached_thread_->joinable()) {
mem_cached_thread_->join(); mem_cached_thread_->join();
string ss0 = "rm -rf /users/dsc/shm/MapRuleStat_boost.mmap";
system(ss0.c_str());
} }
} }
if (glob_process_type == ProcessType::kTask) { if (glob_process_type == ProcessType::kTask) {