Closed javierfernandes closed 8 years ago
LwjglApplication start a new thread in a variable called mainLoopThread. We need just join the main thread to wait until the libgdx application ends.
Yeah ! Cool! El dic 30, 2015 1:16 AM, "Juancete" notifications@github.com escribió:
LwjglApplication start a new thread in a variable called mainLoopThread. We need just join the main thread to wait until the libgdx application ends.
— Reply to this email directly or view it on GitHub https://github.com/uqbar-project/wollok/issues/543#issuecomment-167933607 .
Since it ends the whole process killing libgdx background thread.
Wollok game start() method should block the thread. And maybe continue it once libgdx notifies that the window has been closed.