[DEPRECATED] Unreal Engine 4 contains ON_SCOPE_EXIT macro. It works the same as this. use ON_SCOPE_EXIT