diff --git a/t3lib/extjs/class.t3lib_extjs_extdirectdebug.php b/t3lib/extjs/class.t3lib_extjs_extdirectdebug.php
index 9c2b92b9f1a92bbe59c076c8bd84687ae3a54ef9..31809c90f47706b3ab566fa6d32232a4d5abbfac 100644
--- a/t3lib/extjs/class.t3lib_extjs_extdirectdebug.php
+++ b/t3lib/extjs/class.t3lib_extjs_extdirectdebug.php
@@ -39,6 +39,22 @@ class t3lib_extjs_ExtDirectDebug {
 	 */
 	protected $debugMessages = array();
 
+
+	/**
+	 * destructor
+	 *
+	 * Currently empty, but automatically registered and called during
+	 * ExtDirect shutdown.
+	 *
+	 * @see http://bugs.typo3.org/view.php?id=17891
+	 * @see http://forge.typo3.org/issues/25278
+	 */
+	public function __destruct() {
+
+	/* currently empty */
+	}
+
+
 	/**
 	 * Adds a new message of any data type to the internal debug message array.
 	 *