mirror of
https://github.com/openharmony/ace_engine_lite.git
synced 2026-07-20 13:53:35 -04:00
@@ -90,7 +90,7 @@ bool ChartComponent::CreateNativeViews()
|
||||
}
|
||||
ReleaseJerryValue(hasTypeProp, typeStrHandler, attrsPropValue, VA_ARG_END_FLAG);
|
||||
if (!strcmp(chartType_, LINE)) {
|
||||
if (chartView_) {
|
||||
if (chartView_ != nullptr) {
|
||||
delete (chartView_);
|
||||
chartView_ = nullptr;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user