Skip to content

Commit

Permalink
MythZoneminder: Make sure the connection to the server is shutdown on…
Browse files Browse the repository at this point in the history
… FE exit

This fixes a 'Not all threads were shut down properly' error when shutting
down the frontend.

Fixes #11340.

Signed-off-by: Daniel Thor Kristjansson <danielk@cuymedia.net>
  • Loading branch information
paul-h authored and daniel-kristjansson committed Feb 2, 2013
1 parent 397d1e9 commit 7beae1d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion mythplugins/mythzoneminder/mythzoneminder/main.cpp
Expand Up @@ -166,5 +166,8 @@ int mythplugin_config(void)
return 0;
}


void mythplugin_destroy(void)
{
delete ZMClient::get();
}

0 comments on commit 7beae1d

Please sign in to comment.