mirror of
https://github.com/leozide/leocad
synced 2025-02-10 20:48:03 +01:00
Fixed crash on exit.
This commit is contained in:
parent
4d45d271e6
commit
3970dd3698
1 changed files with 2 additions and 1 deletions
|
@ -19,7 +19,8 @@ PieceInfo::PieceInfo(int ZipFileIndex)
|
||||||
|
|
||||||
PieceInfo::~PieceInfo()
|
PieceInfo::~PieceInfo()
|
||||||
{
|
{
|
||||||
Unload();
|
if (mRefCount)
|
||||||
|
Unload();
|
||||||
}
|
}
|
||||||
|
|
||||||
void PieceInfo::CreatePlaceholder(const char* Name)
|
void PieceInfo::CreatePlaceholder(const char* Name)
|
||||||
|
|
Loading…
Add table
Reference in a new issue