changeset 2047:709c205efc4d

Win: Fix another Edge HTML crash on exit, under certain circumstances.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 25 Nov 2019 12:17:26 +0000
parents e8a34118a845
children 2d06f48e9d12
files win/dw.c
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/win/dw.c	Mon Nov 25 05:01:14 2019 +0000
+++ b/win/dw.c	Mon Nov 25 12:17:26 2019 +0000
@@ -1052,6 +1052,9 @@
       if(cinfo && cinfo->buddy)
          DestroyWindow( cinfo->buddy );
    }
+   /* Some Edge Windows have an empty class.. abort. */
+   else if(_tcslen(tmpbuf) == 0)
+      return TRUE;
 
    dw_signal_disconnect_by_window(handle);