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
The issue seems to be that as Reset calls Emplace it calls ~Instance but then it does not call the constructor of Instance and the code goes on to operate on a destroyed object, causing undefined behavior.