defensive checks added
This commit is contained in:
parent
fef2464120
commit
896cf240f3
@ -216,6 +216,7 @@ QskHintAnimatorTable::QskHintAnimatorTable()
|
||||
|
||||
QskHintAnimatorTable::~QskHintAnimatorTable()
|
||||
{
|
||||
if ( qskAnimatorGuard )
|
||||
qskAnimatorGuard->unregisterTable( this );
|
||||
delete m_data;
|
||||
}
|
||||
@ -227,6 +228,7 @@ void QskHintAnimatorTable::start( QskControl* control,
|
||||
if ( m_data == nullptr )
|
||||
{
|
||||
m_data = new PrivateData();
|
||||
if ( qskAnimatorGuard )
|
||||
qskAnimatorGuard->registerTable( this );
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user