Reputation: 5545
is ondestroy() in an activity called by the main gui thread? I always assumed it would be, but i can't find any documentation saying so, and now I have a bug which might indicate it's not running in the main thread.
Or maybe my loop code is broken.
Upvotes: 2
Views: 657
Reputation: 3220
Yes, onDestroy is called on Main UI thread..Post you code to check the error.
Upvotes: 2