Skip to content

Commit ff97012

Browse files
committed
Ignore NotSupportedException. Fixes #509
1 parent 6269009 commit ff97012

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
@@ -206,6 +206,9 @@ public async Task DisposeAsync(IOBehavior ioBehavior, CancellationToken cancella
206206
catch (IOException)
207207
{
208208
}
209+
catch (NotSupportedException)
210+
{
211+
}
209212
catch (ObjectDisposedException)
210213
{
211214
}

0 commit comments

Comments
 (0)