Why the App exit loop after run()?? #1300
Unanswered
wengjianhong
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
when I use this code:
But if I call SocketApp.run(); by this code, the run() function will run over soon, and loop will exit soon, too.
In other word, the socketApp will not run server ok.
why??
In addition, I try define the SocketApp as global variable, the server run OK, if I define the SocketApp as local variable, the server can't run ok.
Beta Was this translation helpful? Give feedback.
All reactions