fix: allow start ctx_watch without Command.cancel fn

This commit is contained in:
ge
2026-01-04 16:16:46 +03:00
parent 8a4262dc1a
commit 4df4fcec47

2
cmd.v
View File

@@ -272,7 +272,7 @@ pub fn (mut c Command) start() !int {
} }
} }
if c.ctx != none && c.cancel != none { if c.ctx != none {
printdbg('${@METHOD}: start watching for context') printdbg('${@METHOD}: start watching for context')
go c.ctx_watch() go c.ctx_watch()
} }