twa: call unregister_all_my_variables()

Fixes #129.

* spot/twa/twa.cc (~twa): call unregister_all_my_variables()
* spot/twa/twagraph.hh, spot/twa/twaproduct.cc,
spot/twaalgos/stutter.cc: Simplify.
* NEWS: Mention the change.
This commit is contained in:
Alexandre Duret-Lutz 2016-01-10 21:02:31 +01:00
parent d0b38156f3
commit d22ecba9b6
5 changed files with 6 additions and 8 deletions

View file

@ -215,11 +215,6 @@ namespace spot
acc_.set_generalized_buchi();
}
virtual ~tgbasl()
{
get_dict()->unregister_all_my_variables(this);
}
virtual const state* get_init_state() const override
{
return new state_tgbasl(a_->get_init_state(), bddfalse);