I wondered why Stream#close is actually never called in the specs ( see coveralls ) although several sockets are closed. Turned out that all subclasses forward their close method directly to the internal socket and therefore bypass flushing the write buffer. Moreover the Stream#close method doesn't work at all because no subclass defines a sysclose method.
Hi
I wondered why Stream#close is actually never called in the specs ( see coveralls ) although several sockets are closed. Turned out that all subclasses forward their close method directly to the internal socket and therefore bypass flushing the write buffer. Moreover the Stream#close method doesn't work at all because no subclass defines a sysclose method.
Cheers' Hannes