Skip to content
Snippets Groups Projects
Commit b8cf14c5 authored by Callum Prentice's avatar Callum Prentice
Browse files

tweak shutdown procedure for example plugin to match our new methodology

parent aa85b420
No related branches found
No related tags found
No related merge requests found
......@@ -123,10 +123,10 @@ void mediaPluginExample::receiveMessage(const char* message_string)
}
else if (message_name == "cleanup")
{
LLPluginMessage message("base", "goodbye");
sendMessage(message);
mDeleteMe = true;
LLPluginMessage message("base", "goodbye");
sendMessage(message);
mDeleteMe = true;
}
else if (message_name == "shm_added")
{
......@@ -389,3 +389,4 @@ int init_media_plugin(LLPluginInstance::sendMessageFunction host_send_func,
return 0;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment