Index: /CKEditor/trunk/CHANGES.html
===================================================================
--- /CKEditor/trunk/CHANGES.html	(revision 6427)
+++ /CKEditor/trunk/CHANGES.html	(revision 6428)
@@ -50,4 +50,5 @@
 		<li><a href="http://dev.ckeditor.com/ticket/6215">#6215</a> : Removal of inline styles now also removes overrides.</li>
 		<li><a href="http://dev.ckeditor.com/ticket/6144">#6144</a> : Rich combos have wrong height when toolbar is wrapped.</li>
+		<li><a href="http://dev.ckeditor.com/ticket/6387">#6387</a> : AutoGrow may cause an error when editor instance is destroyed too quickly after height change.</li>
 		<li>Updated the following language files:<ul>
 			<li><a href="http://dev.ckeditor.com/ticket/7124">#7124</a> : Czech;</li>
Index: /CKEditor/trunk/_source/plugins/autogrow/plugin.js
===================================================================
--- /CKEditor/trunk/_source/plugins/autogrow/plugin.js	(revision 6427)
+++ /CKEditor/trunk/_source/plugins/autogrow/plugin.js	(revision 6428)
@@ -10,4 +10,6 @@
 	var resizeEditor = function( editor )
 	{
+		if ( !editor.window )
+			return;
 		var doc = editor.document,
 			currentHeight = editor.window.getViewPaneSize().height,
