From eb02d93bdd89bdc4689af4a523839ee93bad8505 Mon Sep 17 00:00:00 2001 From: yangbiao59 Date: Thu, 31 Jul 2025 06:54:40 +0000 Subject: [PATCH] watcher_ani Signed-off-by: yangbiao59 --- interfaces/kits/js/src/mod_fs/properties/ani/watcher_ani.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/interfaces/kits/js/src/mod_fs/properties/ani/watcher_ani.cpp b/interfaces/kits/js/src/mod_fs/properties/ani/watcher_ani.cpp index 241764e04..9a06a6f3e 100644 --- a/interfaces/kits/js/src/mod_fs/properties/ani/watcher_ani.cpp +++ b/interfaces/kits/js/src/mod_fs/properties/ani/watcher_ani.cpp @@ -63,6 +63,7 @@ ani_object WatcherAni::CreateWatcherSync( ErrorHandler::Throw(env, err); return nullptr; } + const FsWatcher *watcher = ret.GetData().value(); auto result = FsWatcherWrapper::Wrap(env, move(watcher)); if (result == nullptr) { -- Gitee