diff -r c04402373720 openide.text/src/org/openide/text/CloneableEditor.java --- a/openide.text/src/org/openide/text/CloneableEditor.java Mon Aug 25 12:46:43 2008 +0200 +++ b/openide.text/src/org/openide/text/CloneableEditor.java Mon Aug 25 14:24:53 2008 +0200 @@ -252,6 +252,11 @@ break; } case 1: + if (CloneableEditor.this.pane != this.tmp) { + // quit when the editor pane was closed in the meantime + phase = Integer.MAX_VALUE; + break; + } initVisual(); if (newInitialize()) { task.schedule(1000);