mirror of
https://github.com/leozide/leocad
synced 2025-01-28 19:58:12 +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()
|
||||
{
|
||||
Unload();
|
||||
if (mRefCount)
|
||||
Unload();
|
||||
}
|
||||
|
||||
void PieceInfo::CreatePlaceholder(const char* Name)
|
||||
|
|
Loading…
Add table
Reference in a new issue