I dont see any race condition, and for some reason the problem is back, but sporadic, again the steps: ( I added a few lines for clarity) Form1 visible, click on button to show Form 2 Form2 during constructor calls toastbar and retrieves information from the server Information is retrived no errors Form2 click on "back" calls parent.showBack() Form1 is reloaded but for some reason the toastbar is visible and blocking.
On Tuesday, September 20, 2016 at 9:43:20 PM UTC-7, Shai Almog wrote: > > That's a race condition. > Notice that the error methods are called off the EDT so you need to use > callSerially(). > -- You received this message because you are subscribed to the Google Groups "CodenameOne Discussions" group. To unsubscribe from this group and stop receiving emails from it, send an email to codenameone-discussions+unsubscr...@googlegroups.com. Visit this group at https://groups.google.com/group/codenameone-discussions. To view this discussion on the web visit https://groups.google.com/d/msgid/codenameone-discussions/a916e2b0-1a7d-4a5d-81e4-99230618bcc4%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.