If the person during the state of janabah has urinated before the ghusl, then the release of the discharge does not affect his ghusl. If he did not urinate before performing the ghusl then there are two possibilities: 1. If he is sure that the mentioned released liquid is not associated with any traces of semen, then the ghusl is not affected and he can continue it. 2. If he doubts that it is associated with some traces of semen, then he should restart the ghusl.