Changeset 11834 for trunk/sources/HeuristicLab.Scripting/3.3/Scripts
- Timestamp:
- 01/27/15 18:21:36 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Scripting/3.3/Scripts/CSharp/CSharpScript.cs
r11787 r11834 107 107 ex = e; 108 108 } finally { 109 scriptThread = null; 109 110 OnScriptExecutionFinished(ex); 110 111 } … … 115 116 116 117 public virtual void Kill() { 117 if (scriptThread .IsAlive)118 118 if (scriptThread == null) return; 119 scriptThread.Abort(); 119 120 } 120 121
Note: See TracChangeset
for help on using the changeset viewer.