Skip to content

Change scheduleRepeatingTask() to scheduleTask() - #24

Merged
eoinsha merged 1 commit into
eoinsha:masterfrom
vheathen:patch-1
Sep 16, 2016
Merged

eoinsha merged 1 commit into
eoinsha:masterfrom
vheathen:patch-1

Conversation

@vheathen

Copy link
Copy Markdown
Contributor

rejoinTimerTask runs rejoinUntilConnected() which checks for the current channel\socket state and either rejoin channel or schedule the next check. So the task must be set to start only once after each check.
Current behaviour leads to the memory allocation error and application crash in case of the network problems.

rejoinTimerTask runs rejoinUntilConnected() which checks for the current channel\socket state and either rejoin channel or schedule the next check. So the task must be set to start only once after each check.
Current behaviour leads to the memory allocation error and application crash in case of the network problems.
@eoinsha
eoinsha merged commit e506e08 into eoinsha:master Sep 16, 2016
@eoinsha

eoinsha commented Sep 16, 2016

Copy link
Copy Markdown
Owner

Thanks @vheathen

@vheathen
vheathen deleted the patch-1 branch September 28, 2016 07:18
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

Successfully merging this pull request may close these issues.

2 participants