system/FileDescriptor: Close() should not be called on undefined object
It does not do much harm - but it causes an unnecessary (failing) system call.
This commit is contained in:
parent
e576556149
commit
13d02968bd
@ -170,7 +170,7 @@ public:
|
|||||||
#endif
|
#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
|
* "undefined" object. After this call, IsDefined() is guaranteed
|
||||||
* to return false, and this object may be reused.
|
* to return false, and this object may be reused.
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user