Skip to content

Conversation

brobits
Copy link

@brobits brobits commented Jan 19, 2018

useful for test cleanup in other packages. an example, when SessionIDs are tracked in sessions:

for _, s := range sessions {
	err := fix.UnregisterSession(s)
	if err != nil {
		log.Printf("could not remove session %s: %s", s.String(), err.Error())
	}
}

@cbusbey
Copy link
Contributor

cbusbey commented Jan 19, 2018

Thanks bits 🍻

@cbusbey cbusbey merged commit 1ce4ada into quickfixgo:master Jan 19, 2018
level2player pushed a commit to longbridge/quickfix that referenced this pull request Jul 19, 2022
added new exported unregister session call
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants