canvasframework 0.5.51 → 0.5.53
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core/CanvasFramework.js +2 -0
- package/package.json +1 -1
package/core/CanvasFramework.js
CHANGED
|
@@ -2004,6 +2004,7 @@ class CanvasFramework {
|
|
|
2004
2004
|
// Destroy le composant pour être sûr
|
|
2005
2005
|
if (comp.destroy && typeof comp.destroy === 'function') {
|
|
2006
2006
|
comp.destroy();
|
|
2007
|
+
comp._unmount();
|
|
2007
2008
|
}
|
|
2008
2009
|
}
|
|
2009
2010
|
|
|
@@ -2011,6 +2012,7 @@ class CanvasFramework {
|
|
|
2011
2012
|
comp.onClick = null;
|
|
2012
2013
|
comp.onPress = null;
|
|
2013
2014
|
|
|
2015
|
+
|
|
2014
2016
|
if (comp._unmount && typeof comp._unmount === 'function') {
|
|
2015
2017
|
comp._unmount();
|
|
2016
2018
|
}
|