AsynchronousDataStore needs  to stop - make thread a daemon
-----------------------------------------------------------

                 Key: WICKET-3858
                 URL: https://issues.apache.org/jira/browse/WICKET-3858
             Project: Wicket
          Issue Type: Bug
          Components: wicket-core
    Affects Versions: 1.5-RC5.1
         Environment: ant based test environment
            Reporter: Richard Emberson
            Priority: Minor


I don't know how most run the unit tests, but in my ant-base testing 
environment, the AsynchronousDataStore
thread does not stop and so the testing JVM does not exit. Consider changing:
new Thread(savingRunnable, "Wicket-PageSavingThread").start();
to
Thread t = new Thread(savingRunnable, "Wicket-PageSavingThread");
t.setDaemon(true);
t.start();

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to