Commit 82f877ec authored by Nick Mathewson's avatar Nick Mathewson 🦀
Browse files

Hang onto a PT object after it is launched

If we don't do this, then snowflake's stdin will get closed and
it will exit immediately.

Found while investigating #333.
parent 90357135
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -174,6 +174,7 @@ impl<R: Runtime> PtReactor<R> {
                    warn!("Bug: PT {} succeeded, but did not give the same transports we asked for. ({:?} vs {:?})",
                          pt.identifier(), found, requested);
                }
                self.running.push(pt);
            }
        }
    }