fix exceeding shared memory usage, return of member of deleted class.

This commit is contained in:
Erwin Coumans
2019-05-06 17:13:42 -07:00
parent f4f5f70886
commit 688df2c60b
2 changed files with 3 additions and 1 deletions

View File

@@ -206,7 +206,9 @@ private:
{
GPR_ASSERT(status_ == FINISH);
// Once in the FINISH state, deallocate ourselves (CallData).
CallData tmpStatus = status_;
delete this;
return tmpStatus;
}
return status_;
}