Deleting an object that spawned a thread

This seams like a silly question, but what happens when you delete an object that spawned a thread.

Is the thread destroyed instantly?

Answers


If you specified in destructor, that thread should be destroyed - yes. In other case - no.


Need Your Help

Where to add the atlas property for AtlasTmxMapLoader

java xml libgdx assets tiled

I am refactorying my game i would like to use the AltasTmxMapLoader to increase the renderingperformance of my TiledMaps. I stuck at adding the atlas property into the map. Where do i need to put i...

How can I access the stormpath user account's custom data via Aouth.io API?

android ios stormpath oauth.io

I have integrated OAuth.io User Management with Stormpath. I need to access custom data of stormpath's user account using Aouth.io's Android and iOS APIs.