Commit 13d02968 authored by Max Kellermann's avatar Max Kellermann

system/FileDescriptor: Close() should not be called on undefined object

It does not do much harm - but it causes an unnecessary (failing) system call.
parent e5765561
......@@ -170,7 +170,7 @@ public:
#endif
/**
* Close the file descriptor. It is legal to call it on an
* Close the file descriptor. It should not be called on an
* "undefined" object. After this call, IsDefined() is guaranteed
* to return false, and this object may be reused.
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment