mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Installer: Now removes %TEMP%\Rainmeter-Cache on uninstall.
NowPlayingPlugin: Fixed crash on refresh when the plugin is used in multiple skins with different players.
This commit is contained in:
@ -19,6 +19,8 @@
|
||||
#include "StdAfx.h"
|
||||
#include "PlayerWMP.h"
|
||||
|
||||
extern CPlayer* g_WMP;
|
||||
|
||||
/*
|
||||
** CRemoteHost
|
||||
**
|
||||
@ -198,6 +200,7 @@ void CPlayerWMP::RemoveInstance()
|
||||
{
|
||||
if (--m_InstanceCount == 0)
|
||||
{
|
||||
g_WMP = NULL;
|
||||
delete this;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user