-
Notifications
You must be signed in to change notification settings - Fork 5.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
delete AllocatorFacade destructor #18606
delete AllocatorFacade destructor #18606
Conversation
@@ -295,7 +295,7 @@ class AllocatorFacadePrivate { | |||
|
|||
// Pimpl. Make interface clean. | |||
AllocatorFacade::AllocatorFacade() : m_(new AllocatorFacadePrivate()) {} | |||
AllocatorFacade::~AllocatorFacade() { delete m_; } | |||
AllocatorFacade::~AllocatorFacade() {} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please add some comments on the reason why we remove delete m_
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
* delete m, test=develop
* delete m, test=develop
* fix bug in Class MultiSlotDataGenerator's function _gen_str, test=develop (#18222) * fix some bug when merge sparse embedding parameters, test=develop (#18223) * fix communicator with pyreader (#18350) * delete AllocatorFacade destructor (#18606) * fix distribute transpiler GRPC error code 4, RPC Deadline (#18984) * merge pr #18441
修复#17900中, 由于python/c++析构顺序导致的Segmentation fault.