You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2013/05/09 16:56:01 UTC

[Bug 54945] Add Shutdown Hook to enable trapping kill or CTRL+C signals

https://issues.apache.org/bugzilla/show_bug.cgi?id=54945

--- Comment #1 from Philippe Mouawad <p....@ubik-ingenierie.com> ---
Created attachment 30267
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=30267&action=edit
Draft of patch

Hello,
Attached is a first proposal of Shutdown Hook implementation.
I had to add a join on StopThread otherwise it can happen exit occurs before
thread is started.

Anyway there is still an issue as if shutodwn of threads takes more than
jmeterengine.threadstop.wait (ThreadGroup#WAIT_TO_DIE) then it can happen that
close will not be called on PrintWriter.

-- 
You are receiving this mail because:
You are the assignee for the bug.