Default to klling process if there's no spawned window
This commit is contained in:
parent
c292979010
commit
545b5b1f43
1 changed files with 2 additions and 1 deletions
|
|
@ -24,7 +24,8 @@ namespace LANCommander.SDK.Extensions
|
|||
switch (signal)
|
||||
{
|
||||
case ProcessTerminationMethod.Close:
|
||||
process.CloseMainWindow();
|
||||
if (!process.CloseMainWindow())
|
||||
process.Kill(true);
|
||||
break;
|
||||
|
||||
case ProcessTerminationMethod.Kill:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue