+/**\r
+ * Perform global clean up to free as much memory as possible\r
+ * when there are no instances left\r
+ */\r
+CKEDITOR.on( 'instanceDestroyed', function ()\r
+ {\r
+ if ( CKEDITOR.tools.isEmpty( this.instances ) )\r
+ CKEDITOR.fire( 'reset' );\r
+ });\r
+\r