This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 249013

Summary: Stop currently executing build - doesn't send hangup signal to java child process
Product: platform Reporter: dhanasekaran
Component: ExecutionAssignee: Petr Hejl <phejl>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: P3    
Version: 8.0.1   
Hardware: Macintosh   
OS: Mac OS X   
Issue Type: DEFECT Exception Reporter:

Description dhanasekaran 2014-11-30 10:07:56 UTC
Not sure if it has be fixed at maven level, but it would be good if 'Stop current' build button sends SIGTERM or kill signal to child process who is listening on JVM Terminate hook to cleanly shutdown. Currently the child process is not terminated (orphaned) and runs in the background.

Product Version = NetBeans IDE 8.0.1 (Build 201408251540)
Operating System = Mac OS X version 10.10.1 running on x86_64
Java; VM; Vendor = 1.8.0_25
Runtime = Java HotSpot(TM) 64-Bit Server VM 25.25-b02
Comment 1 Tomas Stupka 2015-06-15 10:57:50 UTC
maven is simply calling:

Processes.killTree(prcs, env);

please evaluate
Comment 2 Petr Hejl 2015-06-16 08:48:41 UTC

*** This bug has been marked as a duplicate of bug 195537 ***