A contract by which A employs B as sales agent on a commission, is discharged by B's enlisting in the military forces of the nation,1 and in the absence of specific provision to the contrary, in the contract, B can not recover compensation for services rendered after such enlistment.2