!1924 析构函数前加virtual,防止内存泄露

Merge pull request !1924 from guochao/1121
This commit is contained in:
openharmony_ci 2024-11-21 14:03:28 +00:00 committed by Gitee
commit 21e967901b
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -38,7 +38,7 @@ public:
/**
* @brief Destructor.
*/
~SharedResultSet() {}
virtual ~SharedResultSet() {}
/**
* @brief Obtains a block from the {@link SharedResultSet}.