-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Replace TimerTask with ScheduledExecutorService #878
Replace TimerTask with ScheduledExecutorService #878
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Rest looks good!
@@ -0,0 +1,47 @@ | |||
/* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please use the license provided in https://github.com/TooTallNate/Java-WebSocket/blob/master/LICENSE
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
Ready for re-review |
Description
By getting rid of TimerTask, we remove an assumption that the system clock will not be modified.
Related Issue
Fixes #869
How Has This Been Tested?
Observed that there is no longer an issue when the system time is changed.
Types of changes
Checklist: