Such an easy solution, works like a charm! Thanks a lot!
-- Erich On Wed, 31 Aug 2016 11:46:44 -0600 Matthew Flatt <mfl...@cs.utah.edu> wrote: > Hi Erich, > > Use `yield` in place of `sync`. Using `yield` will wait for the thread > to complete in the same way as `sync`, but it will dispatch GUI events > while waiting. > > Matthew > > At Wed, 31 Aug 2016 18:10:17 +0100, Erich Rast wrote: > > > Basically, I need to wait until the connection thread ends, before > > the application should quit, but at the same time the waiting may > > not block any processing of GUI events like mouse-clicks. > > > > How can I achieve this? -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.