[jira] Closed: (CAY-1027) Orderly EventManager shutdown

From: Andrus Adamchik (JIRA) ("Andrus)
Date: Fri Apr 11 2008 - 08:13:52 EDT

  • Next message: Andrus Adamchik (JIRA): "[jira] Closed: (CAY-1028) NPE's in the Modeler for incomplete relationships"

         [ https://issues.apache.org/cayenne/browse/CAY-1027?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

    Andrus Adamchik closed CAY-1027.
    --------------------------------

        Resolution: Fixed

    > Orderly EventManager shutdown
    > -----------------------------
    >
    > Key: CAY-1027
    > URL: https://issues.apache.org/cayenne/browse/CAY-1027
    > Project: Cayenne
    > Issue Type: Improvement
    > Components: Cayenne Core Library
    > Affects Versions: 3.0
    > Reporter: Andrus Adamchik
    > Assignee: Andrus Adamchik
    > Priority: Minor
    > Fix For: 3.0
    >
    >
    > Currently EventManager.shutdown() sets a stopped flag, and then lets the threads to wake up at some later moment and pick it up... so the threads are still running for some time after shutdown. Improve this by calling "interrupt" immediately on each thread.

    -- 
    This message is automatically generated by JIRA.
    -
    You can reply to this email to add a comment to the issue online.
    



    This archive was generated by hypermail 2.0.0 : Fri Apr 11 2008 - 08:16:44 EDT