File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1111 "Dev.Ide" : {
1212 "commandName" : " Project" ,
1313 "launchBrowser" : true ,
14- "applicationUrl" : " http://localhost:42948 " ,
14+ "applicationUrl" : " http://localhost:4766 " ,
1515 "environmentVariables" : {
1616 "ASPNETCORE_ENVIRONMENT" : " Development"
1717 }
Original file line number Diff line number Diff line change 88
99namespace Dev . Ide . Pseudo
1010{
11- public class PseudoWorker
11+ public class PseudoWorker : IDisposable
1212 {
1313 public List < string > outputs = new List < string > ( ) ;
1414 public List < string > errors = new List < string > ( ) ;
@@ -18,10 +18,17 @@ public class PseudoWorker
1818 RunCode run ;
1919 public PseudoWorker ( RunCode _run )
2020 {
21+ AutoSelfDestruct ( ) ;
2122 run = _run ;
2223 Init ( ) ;
2324 }
2425
26+ public async void AutoSelfDestruct ( )
27+ {
28+ await Task . Delay ( 1000 * 60 * 10 ) ;
29+ Dispose ( ) ;
30+ }
31+
2532 public async void Init ( )
2633 {
2734 try
@@ -130,6 +137,11 @@ public void Input(string input)
130137 {
131138 p . StandardInput . WriteLine ( input ) ;
132139 }
140+
141+ public void Dispose ( )
142+ {
143+ throw new NotImplementedException ( ) ;
144+ }
133145 }
134146}
135147
You can’t perform that action at this time.
0 commit comments