Hi all, will daemon thread stop working when the enclosing it thread will finish? Or daemon thread will stop when the \"main\" thread will finish?
I tested this example
The Daemon Thread stopped working due to the fact that there weren't any non-daemon threads left and NOT because the parent thread completed.