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

In pointer.js stop function gets called after game.destroy #2342

Closed
stoneman1 opened this issue Feb 19, 2016 · 2 comments
Closed

In pointer.js stop function gets called after game.destroy #2342

stoneman1 opened this issue Feb 19, 2016 · 2 comments

Comments

@stoneman1
Copy link
Contributor

So I have this single page situation with angular. I call game.destroy() when its out of the game view. But it still somehow gives errors like this :
Uncaught TypeError: Cannot read property 'time' of null
Which points to this in pointer.js :
this.timeUp = this.game.time.time;

Trying to make a fix for this at this moment just put this up here if someone else is wondering same.

@soumak77
Copy link

This is the same error I'm seeing. The fix is described in #2344.

@photonstorm
Copy link
Collaborator

Merged into dev.

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

3 participants