← Back to team overview

lottanzb team mailing list archive

[Bug 513960] Re: LottaNZB hangs before lottanzb.core.App.on_quit is called on Ubuntu 10.04

 

It probably waits for the Backend thread to complete, causing "on_exit"
(that would actually stop the thread) not to be called.

-- 
LottaNZB hangs before lottanzb.core.App.on_quit is called on Ubuntu 10.04
https://bugs.launchpad.net/bugs/513960
You received this bug notification because you are a member of LottaNZB
Development Team, which is a bug assignee.

Status in LottaNZB • Automated Usenet Client: Triaged

Bug description:
LottaNZB 0.5 doesn't shut down properly on Ubuntu 10.04 (0.6 does). The problem is that the application is somehow stuck between the sys.exit call and the core.App.on_exit call that has been registered using atexit. The application needs to be killed because of that. If running the backend thread is commented out, LottaNZB shuts down properly.

A testcase is attached. Everyone is invited to find a fix for the testcase that can be applied to LottaNZB 0.5.





References