Make EDIT_UnlockBuffer cope with destroyed windows.

1 file changed