306 . Where a judgment-debtor is brought before the court after arrest on a warrant or appears in court in pursuance of a notice issued under section 299, and either-
[ 2, 4 of 1940]
(a) pays into court the amount of the decree and, if he has been brought before the court under a warrant, the costs of the arrest, or
(b) gives security for the payment of the same to the satisfaction of the judgment-creditor,
The court shall release him from arrest or discharge him from such notice, as the case may be. If such payment is not made or if such security is not given, the court shall call upon the judgment-debtor to show cause why he should not be committed to jail. *Discharge of debtor where amount of decree and costs of arrest paid into court.*