aboutsummaryrefslogtreecommitdiffhomepage
path: root/internal/outcome/process.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/outcome/process.go')
-rw-r--r--internal/outcome/process.go4
1 files changed, 0 insertions, 4 deletions
diff --git a/internal/outcome/process.go b/internal/outcome/process.go
index 64d83624..707359da 100644
--- a/internal/outcome/process.go
+++ b/internal/outcome/process.go
@@ -206,10 +206,6 @@ func (ms mainState) fatal(fallback string, ferr error) {
// main carries out outcome and terminates. main does not return.
func (k *outcome) main(msg message.Msg) {
- if !k.active.CompareAndSwap(false, true) {
- panic("outcome: attempted to run twice")
- }
-
if k.ctx == nil || k.sys == nil || k.state == nil {
panic("outcome: did not finalise")
}