5 ms·
It would not have stopped this particular bug. The problem here is that the 'destructor' method was open to anyone to execute, when really it should have been r
by 6nf 9y ago
It would not have stopped this particular bug. The problem here is that the 'destructor' method was open to anyone to execute, when really it should have been restricted to the creator / owner only. They exposed a call to the public that should have been 'private'