Fix building node-addon package (#1598)

This commit is contained in:
Fangjun Kuang
2024-12-06 10:11:18 +08:00
committed by GitHub
parent 9352ccf7d5
commit 84821b1f99
3 changed files with 5 additions and 5 deletions

View File

@@ -406,7 +406,9 @@ class TtsGenerateWorker : public Napi::AsyncWorker {
for (auto d : _this->data_list_) {
if (d->cancelled) {
#if __OHOS__
OH_LOG_INFO(LOG_APP, "TtsGenerate is cancelled");
#endif
return 0;
}
}