Fix typo in read more (#948)
This commit is contained in:
+1
-1
@@ -154,7 +154,7 @@ This will block the calling thread until "fallthrough". The event loop will bloc
|
||||
|
||||
Many users ask how they should stop the event loop. That's not how it is done, you never stop it, you let it fall through. By closing all sockets, stopping the listen socket, removing any timers, etc, the loop will automatically cause App.run to return gracefully, with no memory leaks.
|
||||
|
||||
Because the App itself is under RAII control, once the blocking .run call returns and the App goes out of scope, all memory will gracefully we deleted.
|
||||
Because the App itself is under RAII control, once the blocking .run call returns and the App goes out of scope, all memory will gracefully be deleted.
|
||||
|
||||
### Putting it all toghether
|
||||
|
||||
|
||||
Reference in New Issue
Block a user