Avoid snapshotting uncreatable loggable classes.
This commit is contained in:
parent
8a927c8876
commit
4160721c65
|
@ -341,6 +341,7 @@ Loggable::snapshot( const char *file )
|
|||
|
||||
for ( int i = 0; i < _log_id; ++i )
|
||||
{
|
||||
if ( _class_map[ string( _loggables[ i ]->class_name() ) ] )
|
||||
_loggables[ i ]->log_create();
|
||||
}
|
||||
|
||||
|
|
|
@ -43,7 +43,6 @@ class Sequence_Widget;
|
|||
class Sequence : public Fl_Widget, public Loggable
|
||||
{
|
||||
|
||||
|
||||
static queue <Sequence_Widget *> _delete_queue;
|
||||
|
||||
protected:
|
||||
|
|
Loading…
Reference in New Issue