--- deliantra/Deliantra-Client/DC/BindingEditor.pm 2006/08/14 01:21:02 1.5 +++ deliantra/Deliantra-Client/DC/BindingEditor.pm 2006/09/20 15:59:04 1.6 @@ -232,7 +232,9 @@ $self->commit if $commit; $end_cb->() if $end_cb; - (delete $self->{binder})->destroy; + if (my $binder = delete $self->{binder}) { + $binder->destroy; + } 1 }, on_focus_out => sub {