Guard against freakout in editor closure.