Skip to content

Commit

Permalink
Fix compilation on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
etcimon committed Feb 26, 2023
1 parent 923b897 commit 5eaca3e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions source/botan/entropy/unix_procs.d
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,6 @@ private:

this(in string[] args) { spawn(args); }

~this() { shutdown(); }

this(ref UnixProcess other)
{
std.algorithm.swap(m_fd, other.m_fd);
Expand All @@ -291,6 +289,11 @@ private:
return src;
}

~this() {
foreach (ref UnixProcess proc; m_procs[]) {
proc.shutdown();
}
}

Vector!string m_trusted_paths;
const size_t m_concurrent;
Expand Down

0 comments on commit 5eaca3e

Please sign in to comment.