diff --git a/app/views/foodcourt/qrpay/init.html.erb b/app/views/foodcourt/qrpay/init.html.erb index 8901f7e5..dc060573 100644 --- a/app/views/foodcourt/qrpay/init.html.erb +++ b/app/views/foodcourt/qrpay/init.html.erb @@ -305,6 +305,7 @@ $(document).ready(function() { setTimeout(function() { window.location.href = "/"; }, 3000); + ws.close(); } }, error: function(xhr, status, error) {