Hot answers tagged

1

If the array you're asynchronously processing can be modified by other code, problems like this are bound to happen at some point. The simplest way to prevent this kind of race condition is to make a defensive copy. The "multiple acceptance" bug you describe makes it sound like this callback is mutating the actual objects in the array, rather than merely ...


1

I believe your best option is to permanently disconnect that particular computer from the Internet. That way, even if a program did capture your screen of log your keyboard, then it will not be able to send it anywhere as there's no connection. Of course, you should also disconnect from the network as well unless it's necessary to be connected and you are ...



Only top voted, non community-wiki answers of a minimum length are eligible