mirror of
https://github.com/chibicitiberiu/rainmeter-studio.git
synced 2024-02-24 04:33:31 +00:00
Added cache for the fonts.
Fixed a memory leak in the string meter. Changed the library project to use precompiled headers.
This commit is contained in:
@ -16,13 +16,12 @@
|
||||
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
*/
|
||||
|
||||
#pragma warning(disable: 4996)
|
||||
#pragma warning(disable: 4786)
|
||||
|
||||
#include "StdAfx.h"
|
||||
#include "Rainmeter.h"
|
||||
#include "Error.h"
|
||||
#include "AboutDialog.h"
|
||||
#include "MeasureNet.h"
|
||||
#include "MeterString.h"
|
||||
#include "Resource.h"
|
||||
#include "UpdateCheck.h"
|
||||
#include <assert.h>
|
||||
@ -656,6 +655,8 @@ CRainmeter::~CRainmeter()
|
||||
|
||||
WriteStats(true);
|
||||
|
||||
CMeterString::FreeFontCache();
|
||||
|
||||
GdiplusShutdown(m_GDIplusToken);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user