It'll be considered a loss and there will be no refund if you close the app or leave during a match. You can check out our terms and conditions here.