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 "PlayerSpotify.h"
|
||||
|
||||
extern CPlayer* g_Spotify;
|
||||
|
||||
/*
|
||||
** CPlayerSpotify
|
||||
**
|
||||
@ -62,6 +64,7 @@ void CPlayerSpotify::RemoveInstance()
|
||||
{
|
||||
if (--m_InstanceCount == 0)
|
||||
{
|
||||
g_Spotify = NULL;
|
||||
delete this;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user