Skip to content
Snippets Groups Projects
Commit 94991021 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

forgot to unregister clients on deletion

parent 6d8680db
No related branches found
No related tags found
No related merge requests found
...@@ -944,7 +944,10 @@ namespace onelab{ ...@@ -944,7 +944,10 @@ namespace onelab{
{ {
server::instance()->registerClient(this); server::instance()->registerClient(this);
} }
virtual ~localClient(){} virtual ~localClient()
{
server::instance()->unregisterClient(this);
}
virtual bool set(const number &p){ return _set(p); } virtual bool set(const number &p){ return _set(p); }
virtual bool set(const string &p){ return _set(p); } virtual bool set(const string &p){ return _set(p); }
virtual bool set(const function &p){ return _set(p); } virtual bool set(const function &p){ return _set(p); }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment