Hello.
I would like to kill a thread. For now, im doing like that:
if (this.searchEngine.isAlive()) {
this.searchEngine.interrupt();
}
But it seems it never ends the thread. I think it interrupts the thread, and lets other threads finish; then, it conintues until this.searcEngine thread ends. I would like absolutly destroy this thread and free its memory. How can i do it? I didnt find any non-deprecated solution in API.
Thank you.