MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ remove_eval_observer()

MAYAFLUX_HOST_API void MayaFlux::Host::remove_eval_observer ( ObserverId id)

Stop observing.

An unknown id is ignored. A call already running on another thread may still be finishing when this returns.

Definition at line 357 of file Session.cpp.

358{
359 g_observers.update([id](std::vector<ObserverEntry>& entries) {
360 return std::erase_if(entries, [id](const ObserverEntry& entry) { return entry.id == id; }) > 0;
361 });
362}