Skip to content

Commit

Permalink
Fix cardano-testnet process hanging
Browse files Browse the repository at this point in the history
  • Loading branch information
marcusbfs committed Aug 6, 2024
1 parent bcbfb9b commit 49ceb14
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Internal/Testnet/Server.purs
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ import Data.String.Pattern (Pattern(Pattern))
import Data.Time.Duration (Milliseconds(Milliseconds))
import Data.UInt (UInt)
import Data.UInt (toString) as UInt
import Effect.Aff (Aff)
import Effect.Aff (Aff, launchAff_)
import Effect.Aff as Aff
import Effect.Aff.Retry
( RetryPolicy
Expand Down Expand Up @@ -381,6 +381,7 @@ startCardanoTestnet params cleanupRef = annotateError "startCardanoTestnet" do
$ liftEffect do
log $ "Cleaning up workdir: " <> workspace
_rmdirSync workspace
launchAff_ $ stop testnet

_ <- redirectChannels
{ stderr: channels.stderr, stdout: channels.stdout }
Expand Down

0 comments on commit 49ceb14

Please sign in to comment.