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,7 +19,7 @@
|
||||
#include "StdAfx.h"
|
||||
#include "PlayerITunes.h"
|
||||
|
||||
extern std::wstring g_CachePath;
|
||||
extern CPlayer* g_iTunes;
|
||||
|
||||
/*
|
||||
** CEventHandler
|
||||
@ -166,6 +166,7 @@ void CPlayerITunes::RemoveInstance()
|
||||
{
|
||||
if (--m_InstanceCount == 0)
|
||||
{
|
||||
g_iTunes = NULL;
|
||||
delete this;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user