Skip to content

Commit 6b05cd0

Browse files
committed
Ignore ObjectDisposedException. Fixes #411
1 parent ff7323c commit 6b05cd0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/MySqlConnector/Core/ServerSession.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,9 @@ public async Task DisposeAsync(IOBehavior ioBehavior, CancellationToken cancella
204204
catch (IOException)
205205
{
206206
}
207+
catch (ObjectDisposedException)
208+
{
209+
}
207210
catch (SocketException)
208211
{
209212
}

0 commit comments

Comments
 (0)