File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -108,6 +108,12 @@ public override void Activate(string templateName) {
108108
109109 do {
110110 if ( processesByNameStrict != null ) {
111+ // for future versions: would be nice if ShowClosableMessageBox created this token source
112+ // and passed it as an argument to the tasks that we give to it
113+ // (since you'll probably always want it)
114+ // but unsure how to make the WhenAll in ShowClosableMessageBox pass the arguments
115+ // to the task, or how to make the task itself recieve them
116+ // maybe ThreadPool.QueueUserWorkItem does this?
111117 using ( CancellationTokenSource cancellationTokenSource = new CancellationTokenSource ( ) ) {
112118 CancellationToken token = cancellationTokenSource . Token ;
113119
@@ -136,6 +142,8 @@ public override void Activate(string templateName) {
136142 }
137143 }
138144 }
145+
146+ _processesByNameStrict = null ;
139147 } ) ,
140148
141149 String . Format (
You can’t perform that action at this time.
0 commit comments