File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
src/JavaScriptEngineSwitcher.ChakraCore Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -1109,9 +1109,9 @@ public override void Dispose()
1109
1109
/// managed objects contained in fields of class</param>
1110
1110
private void Dispose ( bool disposing )
1111
1111
{
1112
- if ( _disposedFlag . Set ( ) )
1112
+ if ( disposing )
1113
1113
{
1114
- if ( disposing )
1114
+ if ( _disposedFlag . Set ( ) )
1115
1115
{
1116
1116
if ( _dispatcher != null )
1117
1117
{
@@ -1130,10 +1130,10 @@ private void Dispose(bool disposing)
1130
1130
_documentNameManager = null ;
1131
1131
_promiseContinuationCallback = null ;
1132
1132
}
1133
- else
1134
- {
1135
- DisposeUnmanagedResources ( ) ;
1136
- }
1133
+ }
1134
+ else
1135
+ {
1136
+ DisposeUnmanagedResources ( ) ;
1137
1137
}
1138
1138
}
1139
1139
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ This package does not contain the native implementations of ChakraCore. Therefor
31
31
* JavaScriptEngineSwitcher.ChakraCore.Native.osx-x64</Description >
32
32
<PackageTags >$(PackageCommonTags);ChakraCore</PackageTags >
33
33
<PackageIconFullPath >../../Icons/JavaScriptEngineSwitcher_ChakraCore_Logo128x128.png</PackageIconFullPath >
34
- <PackageReleaseNotes >ChakraCore was updated to version 1.11.24 (Tomáš Deml's patch applied) .</PackageReleaseNotes >
34
+ <PackageReleaseNotes >Improved a implementation of the `Dispose` method .</PackageReleaseNotes >
35
35
</PropertyGroup >
36
36
37
37
<ItemGroup >
Original file line number Diff line number Diff line change 31
31
=============
32
32
RELEASE NOTES
33
33
=============
34
- ChakraCore was updated to version 1.11.24 (Tomáš Deml's patch applied) .
34
+ Improved a implementation of the `Dispose` method .
35
35
36
36
=============
37
37
DOCUMENTATION
You can’t perform that action at this time.
0 commit comments