Constant Reloading
-
bahuvrihi
This immediately became an issue with this:
require 'tap/controller' require 'tap/http/utils' module Tap module Http # ::controller # ::ubiquity class Capture < Tap::Controller include Tap::Http::Utils class << self def cmd(what) %Q{ displayMessage("http://localhost:8080/capture/redirect"); displayMessage(jQuery('body').innerHTML); } end def preview(what) "#{what} is the what" end endAs a controller, the server tries to unload this. But as a ubiquity command, the file has already been required. As a result, when the controller unloads it cannot be reloaded and I get a dead connection.
Unloading needs to check if the file has already been required... if so, don't unload.
-
bahuvrihi
- Assigned user set to bahuvrihi
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.