Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error occurred "`on_shutdown': wrong number of arguments" #12

Open
tana6 opened this issue Oct 31, 2018 · 0 comments
Open

Error occurred "`on_shutdown': wrong number of arguments" #12

tana6 opened this issue Oct 31, 2018 · 0 comments
Assignees

Comments

@tana6
Copy link

tana6 commented Oct 31, 2018

Hello.

This issue has the same meaning as Issues #7.
It was displayed when the websocket's connection was disconnected.

`on_shutdown': wrong number of arguments (given 1, expected 0) (ArgumentError)

The current EventManager is as follows.

        def on_shutdown(event)
          @pinger.cancel if @pinger
          super
        end

I think that it is as follows.

        def on_shutdown(event)
          @pinger.cancel if @pinger
          super()
        end

By the way, I am using ruby 2.5.1.

@kevbob1 kevbob1 self-assigned this Jul 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants