mirror of
https://github.com/tapframe/NuvioStreaming.git
synced 2026-08-18 05:15:41 +00:00
fix(plugins): move return outside jsRuntime.use block
This commit is contained in:
parent
5c063405a0
commit
5ee2ad6d8a
1 changed files with 3 additions and 1 deletions
|
|
@ -180,7 +180,9 @@ internal object PluginRuntime {
|
|||
|
||||
deferred.await()
|
||||
}
|
||||
return parseJsonResults(resultJson)
|
||||
|
||||
// Result is captured inside use block, but returned outside to satisfy compiler
|
||||
return parseJsonResults(deferred.await())
|
||||
} finally {
|
||||
domBridge.clear()
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue