Commit 99031333 authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

AbstractRenderer: Fix potential nullptr dereference

parent d79f9231
......@@ -59,6 +59,8 @@ AbstractRenderer::eventWatcher()
void
AbstractRenderer::stop()
{
if ( m_output == nullptr )
return;
m_output->stop();
}
......
Markdown is supported
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