Project

General

Profile

Actions

Bug #52

closed

things that run on a thread result in crashing on device rotation with thread active

Added by Tony Ciavarella almost 14 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
12/22/2010
Due date:
% Done:

100%

Estimated time:

Description

The really freaking sucks. When a spawned thread is running and the device is rotated, the thread isn't killed. It keeps running and when it references the activity or handler, it inevitably results in a force close. The affects all import/export operations that have a progress dialog.

I really have no idea what to do about this.

A mechanism to detect these cases could be deployed and calls to the GUI could be avoided in those cases if say a reference to the Thread object was kept in the Activity that spawns it and as the activity goes down, it can set a flag in the Thread or something. Seems like the Thread should keep on chugging regardless...

Actions

Also available in: Atom PDF