-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Terminate the process running the IDE if it crashes #1126
base: main
Are you sure you want to change the base?
Conversation
Signed-off-by: Paul Gooderham <[email protected]>
Signed-off-by: Paul Gooderham <[email protected]>
Signed-off-by: Paul Gooderham <[email protected]>
Signed-off-by: Paul Gooderham <[email protected]>
Signed-off-by: Paul Gooderham <[email protected]>
d41a117
to
a51ddea
Compare
Signed-off-by: Paul Gooderham <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good. Thanks.
@@ -576,7 +576,7 @@ public static void copyDirectory(String sourceDirectoryLocation, String destinat | |||
* This searches the output of this JUnit run for SocketTimeoutException which | |||
* has been identified as a fatal error and occurs during the Mac tests. | |||
*/ | |||
public static synchronized void detectFatalError() { | |||
public static void detectFatalError() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI to other reviewers. This is a response to my comment from a previous PR where after other changes were made, synchronized
is no longer required on this method.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
looks good to me, Thanks @turkeylurkey
Fixes #1122
Fix to detect the process id on Windows. I use
kill -1
andkill -9
andsleep 5
in an attempt to avoid the defunct process I've seen in the past.Log showing how the Windows code works for those not familiar with Windows:
Log from Mac (largely the same as Linux)
Another log from Mac where it appears the
kill -1
did not work