mirror of
https://github.com/EvernodeXRPL/hpcore.git
synced 2026-04-29 15:37:59 +00:00
Fixed ledger read fd leak. Reordered subsystem init. (#138)
This commit is contained in:
@@ -310,6 +310,7 @@ namespace sc
|
||||
// Write the json message and close write fd.
|
||||
if (write(stdinpipe[1], json.data(), json.size()) == -1)
|
||||
{
|
||||
close(stdinpipe[1]);
|
||||
LOG_ERROR << errno << ": Failed to write to stdin of contract process.";
|
||||
return -1;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user