You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In debug build the pointer is being set to nullptr, but in release build it is not.
EDIT: I removed the test on double delete as it is not relevant. The first test proves that setting to nullptr will not work in release, and so will not protect from double delete as well.
The text was updated successfully, but these errors were encountered:
Following my remarks on #1131 I made a small test.
First I created the following class:
and executed this code:
In debug build the pointer is being set to
nullptr
, but in release build it is not.EDIT: I removed the test on double delete as it is not relevant. The first test proves that setting to
nullptr
will not work in release, and so will not protect from double delete as well.The text was updated successfully, but these errors were encountered: