Subject: Re: bug#14333: 24.3.50; Emacs hangs when trying to exit

From: Eli Zaretskii <[email-masked]>
Date: Tue, 19 Nov 2013 19:36:53 +0200

> Date: Tue, 19 Nov 2013 18:13:20 +0100
> From: Dani Moncayo <[email-masked]>
> Cc: [email-masked]
> 
> Today I've got another hung session, and I've succeeded to attach gdb
> to such session.
> 
> Below is the output of "thread apply all bt".

Thanks.

Can you try adding this line:

    Sleep (1000);

in term_winsock, right after the call to release_listen_threads, and
see if that helps?