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:
parent
973921fc4b
commit
1e70af7a9d
@ -91,8 +91,6 @@ EqpAlgICEI::~EqpAlgICEI() {
|
||||
if (glob_process_type == ProcessType::kMon) {
|
||||
if (mem_cached_thread_->joinable()) {
|
||||
mem_cached_thread_->join();
|
||||
string ss0 = "rm -rf /users/dsc/shm/MapRuleStat_boost.mmap";
|
||||
system(ss0.c_str());
|
||||
}
|
||||
}
|
||||
if (glob_process_type == ProcessType::kTask) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user