This PR fixes a memory leak on the Oneshot channel. The mem forget operation was intended as an optimization to not call Drop however this results in the Arc count not being decreased and the Arc never being de-allocated. This means that every actor operation reply was kept in memory.
This PR fixes a memory leak on the Oneshot channel. The mem forget operation was intended as an optimization to not call Drop however this results in the Arc count not being decreased and the Arc never being de-allocated. This means that every actor operation reply was kept in memory.