mirror of https://github.com/schollz/croc.git
Make sure to remove croc-stdin
This commit is contained in:
parent
a1611ccc88
commit
ba3fa6ffce
|
@ -17,4 +17,9 @@ func (c *Croc) cleanup() {
|
|||
}
|
||||
os.Remove(c.crocFile)
|
||||
os.Remove(c.crocFileEncrypted)
|
||||
c.cs.Lock()
|
||||
if c.cs.channel.fileMetaData.DeleteAfterSending {
|
||||
os.Remove(c.cs.channel.fileMetaData.Name)
|
||||
}
|
||||
defer c.cs.Unlock()
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue