Skip to content
Snippets Groups Projects
Commit 12d44073 authored by Stinson Linden's avatar Stinson Linden
Browse files

MAINT-4009: Ensuring that the spare browser media source is cleaned up with...

MAINT-4009: Ensuring that the spare browser media source is cleaned up with the LLViewerMedia class.
parent 001621df
No related branches found
No related tags found
No related merge requests found
......@@ -1603,6 +1603,11 @@ void LLViewerMedia::cleanupClass()
{
gIdleCallbacks.deleteFunction(LLViewerMedia::updateMedia, NULL);
sTeleportFinishConnection.disconnect();
if (sSpareBrowserMediaSource != NULL)
{
delete sSpareBrowserMediaSource;
sSpareBrowserMediaSource = NULL;
}
}
//////////////////////////////////////////////////////////////////////////////////////////
......
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