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

◆ cleanup_engine()

void MayaFlux::internal::cleanup_engine ( )

Definition at line 20 of file Core.cpp.

21 {
22 std::lock_guard<std::recursive_mutex> lock(engine_mutex);
23 if (engine_ref) {
24 if (initialized) {
25 engine_ref->End();
26 Journal::Archivist::shutdown();
27 }
28 cleanup_persistent_store();
29 engine_ref.reset();
30 initialized = false;
31 }
32 }
std::unique_ptr< Core::Engine > engine_ref
Definition Core.cpp:15

References cleanup_persistent_store(), engine_mutex, engine_ref, initialized, and MayaFlux::Journal::Archivist::shutdown().

Referenced by MayaFlux::End(), and get_or_create_engine().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: