Update SessionOptions.cs (#7540)

Fix compile warning
This commit is contained in:
Chi Lo 2021-05-04 01:51:35 -07:00 committed by GitHub
parent 594dde2647
commit a94a893d5e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -96,7 +96,7 @@ namespace Microsoft.ML.OnnxRuntime
catch (Exception e)
{
options.Dispose();
throw;
throw e;
}
}