app/controllers/extface/handler_controller.rb in extface-0.3.0a vs app/controllers/extface/handler_controller.rb in extface-0.3.0b

- old
+ new

@@ -13,10 +13,11 @@ unless device.present? render nothing: true, status: :not_found else stream_job end + response.stream.write '' rescue => e p e.message render nothing: true, status: :internal_server_error ensure response.stream.close @@ -42,11 +43,11 @@ status = :ok end rescue => e p e.message render nothing: true, status: :internal_server_error - ensure - response.stream.close + #ensure + #response.stream.close end def settings render text: 'settings' end