mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2025-02-11 08:48:06 +01:00
remove assert: it's fine to close without saving
This commit is contained in:
parent
39b9c32fd7
commit
b333e3959f
1 changed files with 2 additions and 1 deletions
|
@ -180,7 +180,8 @@ stack_destroy( StackCtxt* stack )
|
||||||
if ( !!stack->data ) {
|
if ( !!stack->data ) {
|
||||||
stream_destroy( stack->data );
|
stream_destroy( stack->data );
|
||||||
}
|
}
|
||||||
ASSERT_NOT_DIRTY( stack );
|
/* Ok to close with a dirty stack, e.g. if not saving a deleted game */
|
||||||
|
// ASSERT_NOT_DIRTY( stack );
|
||||||
XP_FREE( stack->mpool, stack );
|
XP_FREE( stack->mpool, stack );
|
||||||
} /* stack_destroy */
|
} /* stack_destroy */
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue