You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We cannot let libui call uiQuit alone, because we have to call our stopLoop method instead (it call uiQuit after it had cleaned up other things).
So we can implement the same semantic, but always return 0.
Also, we'll have to implement this on JS side, because we also have to unpatch global timers functions.
parro-it
changed the title
onShouldQuit
Implement onShouldQuit with the same semnatic as libui (return true from the cb will stop the loop)
May 3, 2018
Should return the cb's return value, currently:
libui-node/src/Ui.cc
Lines 6 to 10 in df1eefd
How it's used by libui (pseudocode):
The text was updated successfully, but these errors were encountered: