some good practice.
This commit is contained in:
parent
d58f68ae97
commit
75021abfd6
|
@ -226,6 +226,7 @@ ControlProtocolManager::teardown (ControlProtocolInfo& cpi)
|
|||
delete cpi.state;
|
||||
cpi.state = 0;
|
||||
delete (Glib::Module*)cpi.descriptor->module;
|
||||
cpi.descriptor->module = 0;
|
||||
|
||||
ProtocolStatusChange (&cpi);
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user