We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ef39ff commit 9e9d1d7Copy full SHA for 9e9d1d7
internal/worker/activity.go
@@ -58,6 +58,8 @@ func (aw *activityWorker) Start(ctx context.Context) error {
58
}
59
60
func (aw *activityWorker) WaitForCompletion() error {
61
+ close(aw.activityTaskQueue)
62
+
63
aw.wg.Wait()
64
65
return nil
internal/worker/workflow.go
@@ -72,6 +72,8 @@ func (ww *workflowWorker) Start(ctx context.Context) error {
72
73
74
func (ww *workflowWorker) WaitForCompletion() error {
75
+ close(ww.workflowTaskQueue)
76
77
ww.wg.Wait()
78
79
0 commit comments