mirror of
https://github.com/aseprite/aseprite.git
synced 2025-02-20 18:40:57 +00:00
The assert can fail if we have the data recovery disabled
This commit is contained in:
parent
c7d1e4a472
commit
8201d62124
@ -186,9 +186,10 @@ public:
|
||||
|
||||
void deleteDataRecovery() {
|
||||
#ifdef ENABLE_DATA_RECOVERY
|
||||
ASSERT(m_recovery);
|
||||
delete m_recovery;
|
||||
m_recovery = nullptr;
|
||||
if (m_recovery) {
|
||||
delete m_recovery;
|
||||
m_recovery = nullptr;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user