Yeah, that wouldn't even compile, so of course the loop never stops...

01-20-2014, 03:33 PM

Sarmad.as

Re: How to Stop this Thread

Quote:

Originally Posted by jim829

You have running = false. It should be running == false. Or

if (!running) {
break;
}

Regards,
Jim

how stupid i am btw thanks

01-20-2014, 03:59 PM

gimbal2

Re: How to Stop this Thread

Quote:

Originally Posted by Sarmad.as

how stupid i am btw thanks

No you're not. So that begs the question: why didn't you catch something as trivial like this yourself?

An important question to answer for yourself as it is a personal improvement you may need to be making; in this case it didn't damage you in any way other than your ego, the next time this may happen in a moment where people who determine if you are employed or not are directly involved.