Commit 46adba0b authored by Dipl.-Ing. Jonas Stienen's avatar Dipl.-Ing. Jonas Stienen
Browse files

Adding shotdown request event message broadcast from client, if allowed by core (default: allowed)

parent b2a60331
......@@ -5166,8 +5166,14 @@ CVAStruct CVACoreImpl::CallObject( const CVAStruct& oArgs )
VA_WARN( "Core", "Received shutdown request" );
if( GetCoreConfig()->bRemoteShutdownAllowed )
VA_TRACE( "Core", "Accepting remote shutdown request, will finalize now" );
VA_TRACE( "Core", "Accepting remote shutdown request, will broadcast shutdown event" );
CVAEvent ev;
ev.pSender = this;
ev.iEventType = CVAEvent::SHOTDOWN_REQUEST;
ev.sParam = "shutdown";
m_pEventManager->BroadcastEvent( ev );
VA_TRACE( "Core", "Shutdown performed" );
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment