Fixed issue with r1153 (if skin is changed to other variant, the former skin is leaked).

This commit is contained in:
Birunthan Mohanathas
2012-02-03 10:15:18 +00:00
parent 798ea5d010
commit c0ecf75e94
3 changed files with 31 additions and 31 deletions

View File

@ -3109,7 +3109,7 @@ LRESULT CMeterWindow::OnTimer(UINT uMsg, WPARAM wParam, LPARAM lParam)
if (m_FadeStartTime == 0)
{
KillTimer(m_Window, TIMER_DEACTIVATE);
Rainmeter->DeleteMeterWindow(this);
Rainmeter->DeleteMeterWindow(this, true);
}
}