spire-io/spire.io.java — Issue #15: longPoll listeners should not process events & update last timestamp if stopListening was fired
Author: jagg81
Created: 2012-02-24 20:42:26+00:00
State: open
Labels: bug

scenario:

1.- startListening
2.- some processing.....
3.- stopListening
.... last longPoll hasn't return yet
4.- when it returns timestamp would be updated and messages process, even though stopListening was fired

Should always check for the isListening flag after longPoll returns, so to do the right thing.