deregister (God::EventHandler)

    # File lib/god/event_handler.rb, line 41
        def self.deregister(pid, event=nil)
          if watching_pid? pid
            running = ::Process.kill(0, pid.to_i) rescue false
            if event.nil?
              @@actions.delete(pid)
              @@handler.register_process(pid, []) if running
            else
              @@actions[pid].delete(event)
              @@handler.register_process(pid, @@actions[pid].keys) if running
            end
          end
        end