fix dragonbones dispose with args's size error warning (#10144)

* fix dragonbones dispose with args's size error warning

* fix IArmatureProxy dispose function
This commit is contained in:
zhakesi
2022-02-22 17:05:40 +08:00
committed by GitHub
parent c3bfc1f439
commit f075bea84c
3 changed files with 4 additions and 4 deletions
@@ -58,7 +58,7 @@ CCArmatureDisplay::CCArmatureDisplay() {
}
CCArmatureDisplay::~CCArmatureDisplay() {
dispose(true);
dispose();
if (_debugBuffer) {
delete _debugBuffer;
@@ -76,7 +76,7 @@ CCArmatureDisplay::~CCArmatureDisplay() {
}
}
void CCArmatureDisplay::dispose(bool /*disposeProxy*/) {
void CCArmatureDisplay::dispose() {
if (_armature != nullptr) {
_armature->dispose();
_armature = nullptr;
@@ -82,7 +82,7 @@ public:
/**
* @inheritDoc
*/
void dispose(bool disposeProxy) override;
void dispose() override;
/**
* @inheritDoc
*/
@@ -83,7 +83,7 @@ public:
* @version DragonBones 4.5
* @language zh_CN
*/
virtual void dispose(bool disposeProxy) = 0;
virtual void dispose() = 0;
/**
* - The armature.
* @version DragonBones 4.5