mirror of https://github.com/deavmi/libsnooze
Event
- `newPipe()` now throws a `FatalException` on failure to create a new pipe pair
This commit is contained in:
parent
cc6933d723
commit
bec55edcc6
|
@ -453,7 +453,7 @@ public class Event
|
|||
if(status != 0)
|
||||
{
|
||||
// Throw an exception is pipe creation failed
|
||||
throw new SnoozeError("Could not initialize the pipe");
|
||||
throw new FatalException(this, FatalError.WAIT_FAILURE, "Could not initialize the pipe");
|
||||
}
|
||||
|
||||
return pipePair;
|
||||
|
|
Loading…
Reference in New Issue