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.
@@ -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
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "canvasframework",
3
- "version": "0.5.51",
3
+ "version": "0.5.53",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "https://github.com/beyons/CanvasFramework.git"