From 24285ba5dab4c78a0f96dc2daac74357394a4216 Mon Sep 17 00:00:00 2001 From: Noah Metz Date: Mon, 24 Jul 2023 18:47:24 -0600 Subject: [PATCH] Fix --- thread.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thread.go b/thread.go index 0842c9a..8fdc455 100644 --- a/thread.go +++ b/thread.go @@ -604,7 +604,7 @@ func ThreadWait(ctx * Context, node ThreadNode) (string, error) { signal_fn, exists := thread.Handlers[signal.Type()] if exists == true { ctx.Log.Logf("thread", "THREAD_HANDLER: %s - %s", thread.ID(), signal.Type()) - return signal_fn(ctx, thread, signal) + return signal_fn(ctx, node, signal) } else { ctx.Log.Logf("thread", "THREAD_NOHANDLER: %s - %s", thread.ID(), signal.Type()) }