idris2-pack
idris2-pack copied to clipboard
[ feature ] Automating Mid-Install Temporary Directory Cleanup
This PR enables the removal of temporary directories that used to linger after a mid-install Ctrl+C.
To accomplish this, the idris2-async library is utilized to race two threads within the withTmpDir
function:
-
SigINT
listener thread. - Runner via
finally
thread.
This PR closes #288.