<html>
    <head>
      <base href="http://fiji.sc/bugzilla/" />
    </head>
    <body><span class="vcard"><a class="email" href="mailto:hinerm@gmail.com" title="Mark Hiner <hinerm@gmail.com>"> <span class="fn">Mark Hiner</span></a>
</span> changed
              <a class="bz_bug_link 
          bz_status_FIXPENDING "
   title="FIXPENDING - Headless ImageJ2 takes about a minute extra to exit after finishing script or macro"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=874">bug 874</a>
          <br>
             <table border="1" cellspacing="0" cellpadding="8">
          <tr>
            <th>What</th>
            <th>Removed</th>
            <th>Added</th>
          </tr>

         <tr>
           <td style="text-align:right;">Status</td>
           <td>ASSIGNED
           </td>
           <td>FIXPENDING
           </td>
         </tr>

         <tr>
           <td style="text-align:right;">CC</td>
           <td>
                
           </td>
           <td>hinerm@gmail.com
           </td>
         </tr></table>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_FIXPENDING "
   title="FIXPENDING - Headless ImageJ2 takes about a minute extra to exit after finishing script or macro"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=874#c7">Comment # 7</a>
              on <a class="bz_bug_link 
          bz_status_FIXPENDING "
   title="FIXPENDING - Headless ImageJ2 takes about a minute extra to exit after finishing script or macro"
   href="http://fiji.sc/bugzilla/show_bug.cgi?id=874">bug 874</a>
              from <span class="vcard"><a class="email" href="mailto:hinerm@gmail.com" title="Mark Hiner <hinerm@gmail.com>"> <span class="fn">Mark Hiner</span></a>
</span></b>
        <pre>Typically when there is a "ImageJ won't quit" issue it is due to a Context not
being disposed.

There was also a bug due to the single-instance listener for ImageJ not being
disconnected on shutdown.

I can reproduce this behavior on linux; both of these issues will be fixed in
the next IJ2 release, resolving the problem with headless shutdown locally.

See
<a href="https://github.com/imagej/imagej-legacy/commit/397d182bf0d181924ee014041e9fb2694b012fe4">https://github.com/imagej/imagej-legacy/commit/397d182bf0d181924ee014041e9fb2694b012fe4</a>

and

<a href="https://github.com/imagej/imagej/commit/bef060e49f0f191708f4ff39a7aa9d3690a331c4">https://github.com/imagej/imagej/commit/bef060e49f0f191708f4ff39a7aa9d3690a331c4</a>

for the fixes to these issues.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>