- Timestamp:
- 01/27/15 18:21:36 (10 years ago)
- Location:
- trunk/sources
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/sources/HeuristicLab.Scripting.Views/3.3/CSharpScriptView.cs
r11734 r11834 111 111 if (Compile()) { 112 112 outputTextBox.Clear(); 113 Running = true; 113 114 Content.ExecuteAsync(); 114 Running = true;115 115 } 116 116 } -
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.