-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate sync xmpp_stream_in/_out:stop()
Sync stop manually calls terminate callback, which skip parts of cleanup that p1_server performs before it calls it, this results in messages that p1_server queued in collect_messages never being seen by c2s process. Async stop don't do that so let's try to remove all calls to sync version with async ones, to help with handling this, i added stop_async, and marked stop as deprecated.
- Loading branch information
Showing
2 changed files
with
50 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters