From 63bef2f58c01d8c548b65bdb948085fdbe875679 Mon Sep 17 00:00:00 2001 From: alfred-mk Date: Mon, 3 Feb 2025 12:14:05 +0300 Subject: [PATCH] reset the ExecPath for a new session --- handlers/application/menuhandler.go | 1 + 1 file changed, 1 insertion(+) diff --git a/handlers/application/menuhandler.go b/handlers/application/menuhandler.go index 53ada39..2284502 100644 --- a/handlers/application/menuhandler.go +++ b/handlers/application/menuhandler.go @@ -129,6 +129,7 @@ func (h *MenuHandlers) Init(ctx context.Context, sym string, input []byte) (reso if len(input) == 0 { // move to the top node h.st.Code = []byte{} + h.st.ExecPath = []string{} } sessionId, ok := ctx.Value("SessionId").(string)