Skip to content

Commit

Permalink
popen resource must be closed with pclose()
Browse files Browse the repository at this point in the history
  • Loading branch information
littlehz committed Apr 5, 2017
1 parent 44b2180 commit b1f6af8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Commands/LaravooleCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ protected function start()

$handle = popen(PHP_BINARY . ' ' . __DIR__ . '/../../src/Entry.php', 'w');
fwrite($handle, serialize($configs));
fclose($handle);
pclose($handle);
}

protected function getPid()
Expand Down

0 comments on commit b1f6af8

Please sign in to comment.