Skip to content

Commit c6b56d9

Browse files
committed
Fixed a error causing a crash during finalization
1 parent 69c1c6a commit c6b56d9

File tree

3 files changed

+2
-21
lines changed

3 files changed

+2
-21
lines changed

NuGet/MsieJavaScriptEngine.nuspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<requireLicenseAcceptance>false</requireLicenseAcceptance>
1313
<description>This library is a .NET wrapper for working with the JavaScript engines of Internet Explorer and Edge (JsRT versions of Chakra, ActiveScript version of Chakra and Classic JavaScript Engine). Project was based on the code of SassAndCoffee.JavaScript (http://github.com/paulcbetts/SassAndCoffee), Chakra Sample Hosts (http://github.com/panopticoncentral/chakra-host) and jsrt-dotnet (http://github.com/robpaveza/jsrt-dotnet).</description>
1414
<summary>This library is a .NET wrapper for working with the JavaScript engines of Internet Explorer and Edge (JsRT versions of Chakra, ActiveScript version of Chakra and Classic JavaScript Engine).</summary>
15-
<releaseNotes>Was made refactoring.</releaseNotes>
15+
<releaseNotes>Fixed a error causing a crash during finalization.</releaseNotes>
1616
<copyright>Copyright (c) 2012-2017 Andrey Taritsyn - http://www.taritsyn.ru</copyright>
1717
<language>en-US</language>
1818
<tags>JavaScript ECMAScript MSIE IE Edge Chakra</tags>

NuGet/readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
=============
2222
RELEASE NOTES
2323
=============
24-
Was made refactoring.
24+
Fixed a error causing a crash during finalization.
2525

2626
============
2727
PROJECT SITE

src/MsieJavaScriptEngine/ScriptDispatcher.cs

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,6 @@ public ScriptDispatcher()
6767
_thread.Start();
6868
}
6969

70-
/// <summary>
71-
/// Destructs an instance of script dispatcher
72-
/// </summary>
73-
~ScriptDispatcher()
74-
{
75-
Dispose(false);
76-
}
77-
7870

7971
private void VerifyNotDisposed()
8072
{
@@ -212,17 +204,6 @@ public void Invoke(Action action)
212204
/// Destroys object
213205
/// </summary>
214206
public void Dispose()
215-
{
216-
Dispose(true /* disposing */);
217-
GC.SuppressFinalize(this);
218-
}
219-
220-
/// <summary>
221-
/// Destroys object
222-
/// </summary>
223-
/// <param name="disposing">Flag, allowing destruction of
224-
/// managed objects contained in fields of class</param>
225-
private void Dispose(bool disposing)
226207
{
227208
if (_disposedFlag.Set())
228209
{

0 commit comments

Comments
 (0)