Création d'un compte pour un collaborateur extérieur au laboratoire depuis l'intranet ICube : https://intranet.icube.unistra.fr/fr/labs/member/profile

Commit 520c1ab5 authored by Sylvain Thery's avatar Sylvain Thery
Browse files

bug: crash when Map delete before AutoAttributeHandler RESOLVED

parent 29f14458
...@@ -61,7 +61,8 @@ public: ...@@ -61,7 +61,8 @@ public:
~AutoAttributeHandler() ~AutoAttributeHandler()
{ {
reinterpret_cast<AttribMap*>(this->m_map)->removeAttribute<T>(*this) ; if (this->valid)
reinterpret_cast<AttribMap*>(this->m_map)->removeAttribute<T>(*this) ;
} }
} ; } ;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment