(b) in the case of a members' voluntary winding-up, in such way as a general meeting of the company by ordinary resolution directs, and in the case of a creditors' voluntary winding-up, in such manner as the committee of inspection or, if there is no such committee, as a meeting of the creditors of the company, by resolution directs.