Skip to content

Commit c523a82

Browse files
committed
updates
1 parent f312cb7 commit c523a82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mongo/integration/mtest/mongotest.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ func (t *T) RunOpts(name string, opts *Options, callback func(mt *T)) {
260260
// only disconnect client if it's not being shared
261261
if sub.shareClient == nil || !*sub.shareClient {
262262
_ = sub.Client.Disconnect(context.Background())
263+
_ = sub.fpClient.Disconnect(context.Background())
263264
}
264265
assert.Equal(sub, 0, sessions, "%v sessions checked out", sessions)
265266
assert.Equal(sub, 0, conns, "%v connections checked out", conns)

0 commit comments

Comments
 (0)