You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maka.apache.org by wy...@apache.org on 2026/10/22 22:06:35 UTC

(maka) 07/29: fix(terminal-shell): read link ownership through the native instance

This is an automated email from the ASF dual-hosted git repository.

M4n5ter pushed a commit to branch rust-preview
in repository https://gitbox.apache.org/repos/asf/maka.git

commit 9d22c28d84c1b819eb44522bc0545efc05ee4766
Author: M4n5ter <m4...@gmail.com>
AuthorDate: Fri Oct 23 03:53:03 2026 +0800

    fix(terminal-shell): read link ownership through the native instance
---
 products/maka/terminal-shell/src/bindings.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/products/maka/terminal-shell/src/bindings.rs b/products/maka/terminal-shell/src/bindings.rs
index 240f699404..a6680f2934 100644
--- a/products/maka/terminal-shell/src/bindings.rs
+++ b/products/maka/terminal-shell/src/bindings.rs
@@ -203,7 +203,7 @@ impl ApplicationHost {
         this: Instance<Self>,
         target: String,
     ) -> Result<Option<links::WorkspaceLink>, String> {
-        let owner = this.owner.clone();
+        let owner = this.with(|host| host.owner.clone());
         drop(this);
         links::open(owner, target).await
     }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@maka.apache.org
For additional commands, e-mail: commits-help@maka.apache.org