Skip to content

Move factory.stopTrying() from Component.startService to Component.stopService method#2

Closed
allait wants to merge 1 commit into
ralphm:masterfrom
allait:master
Closed

Move factory.stopTrying() from Component.startService to Component.stopService method#2
allait wants to merge 1 commit into
ralphm:masterfrom
allait:master

Conversation

@allait

@allait allait commented Dec 3, 2011

Copy link
Copy Markdown

Calling factory.stopTrying() from Component.startService method prevented component from retrying to establish connection if first attempt (triggered by .serviceStart) failed. Component would try to reestablish connection if the initial one was lost though.

I assume stopTrying call is a mistake, since XMPPClient implements startService and stopService methods in a similar way, but calls stopTrying from stopService, as expected. Am I missing something?

Calling factory.stopTrying() from Component.starService method prevented
component from retrying to establish connection if first attempt
(triggered by .serviceStart) failed.
@ralphm

ralphm commented Feb 25, 2012

Copy link
Copy Markdown
Owner

This was fixed in 37b7653, along with tests. Thanks!

@ralphm ralphm closed this Feb 25, 2012
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