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

◆ shutdown()

MAYAFLUX_API void MayaFlux::Portal::System::shutdown ( )

Shutdown Portal::System and release all resources.

Must be called after stop().

Definition at line 69 of file System.cpp.

70{
71 if (!g_initialized) {
72 return;
73 }
74
75 if (g_backend) {
76 g_backend->shutdown();
77 g_backend.reset();
78 }
79
80 g_initialized = false;
81 MF_INFO(Journal::Component::Portal, Journal::Context::API,
82 "Portal::System shutdown complete");
83}
#define MF_INFO(comp, ctx,...)

References MayaFlux::Journal::API, MF_INFO, and MayaFlux::Journal::Portal.