3 ms·
> We do the same for OS resources (handles, sockets, etc) and dont use automatic resource managers, we do it manually. Generally, in most languages, file handl
by watermelon0 2y ago
> We do the same for OS resources (handles, sockets, etc) and dont use automatic resource managers, we do it manually.
Generally, in most languages, file handles and sockets are automatically closed, when the variable holding them gets out of scope.