Lines Matching refs:cleanupHooks_
719 auto insertion_info = cleanupHooks_.emplace(arg,
730 auto cleanupHook = cleanupHooks_.find(arg);
731 if (cleanupHook != cleanupHooks_.end() && cleanupHook->second.first == fun) {
732 cleanupHooks_.erase(arg);
744 while (!cleanupHooks_.empty()) {
745 HILOG_DEBUG("NativeEngine::RunCleanup cleanupHooks_ is not empty");
748 std::vector<CleanupCallbackTuple> callbacks(cleanupHooks_.begin(), cleanupHooks_.end());
749 // We can't erase the copied elements from `cleanupHooks_` yet, because we
760 if (cleanupHooks_.find(data) == cleanupHooks_.end()) {
761 // This hook was removed from the `cleanupHooks_` set during another
769 cleanupHooks_.erase(data);