This complicates the code, and users can be expected to call flush
when they want to write data to the underlying transport.
git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@990969
13f79535-47bb-0310-9956-
ffa450edef68
%% Description: Handling cast messages
%%--------------------------------------------------------------------
handle_cast(close, State) ->
- {_, State1} = do_flush(State),
%% Wrapped is closed by terminate/2
%% error_logger:info_msg("thrift_framed_transport ~p: closing", [self()]),
{stop, normal, State};