Skip to content

Conversation

@bhaan
Copy link
Contributor

@bhaan bhaan commented Jul 13, 2016

Another follow up to #164

Calls to SendToTarget within the OnLogon callback will currently deadlock. This fix will kick that callback on a dedicated goroutine.

I did the same for OnLogout. Although that wont cause a deadlock on SendToTarget, there could be unknown side effects if an application fails to return from OnLogout, ultimately preventing the session from terminating

@bhaan bhaan added the Bug Behavior not matching expected label Jul 13, 2016
@mgatny mgatny merged commit 7a31179 into quickfixgo:master Jul 13, 2016
@cbusbey cbusbey added this to the v0.4.0 milestone Jul 13, 2016
@bhaan bhaan deleted the session-msg-handling branch July 13, 2016 19:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug Behavior not matching expected

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants