This PR fix an issue found in smk-starter repository and discussed here
To make it short, the destructor was called on this which indeed destruct the object itself which was then returned. This caused multiples conditional jumps and a crash.
Fixed by changing the call to the dtor to a call to the Release method.
This PR fix an issue found in smk-starter repository and discussed here
To make it short, the destructor was called on
this
which indeed destruct the object itself which was then returned. This caused multiples conditional jumps and a crash.Fixed by changing the call to the dtor to a call to the
Release
method.File modified :