File tree Expand file tree Collapse file tree 1 file changed +2
-28
lines changed
dotnet/test/common/Environment Expand file tree Collapse file tree 1 file changed +2
-28
lines changed Original file line number Diff line number Diff line change @@ -150,34 +150,8 @@ public void Start()
150
150
151
151
public void Stop ( )
152
152
{
153
- HttpWebRequest request = WebRequest . Create ( EnvironmentManager . Instance . UrlBuilder . LocalWhereIs ( "quitquitquit" ) ) as HttpWebRequest ;
154
- try
155
- {
156
- request . GetResponse ( ) ;
157
- }
158
- catch ( WebException )
159
- {
160
- }
161
-
162
- if ( webserverProcess != null )
163
- {
164
- try
165
- {
166
- webserverProcess . WaitForExit ( 10000 ) ;
167
- if ( ! webserverProcess . HasExited )
168
- {
169
- webserverProcess . Kill ( ) ;
170
- }
171
- }
172
- catch ( Exception )
173
- {
174
- }
175
- finally
176
- {
177
- webserverProcess . Dispose ( ) ;
178
- webserverProcess = null ;
179
- }
180
- }
153
+ webserverProcess . Dispose ( ) ;
154
+ webserverProcess = null ;
181
155
}
182
156
}
183
157
}
You can’t perform that action at this time.
0 commit comments