Skip to content

Commit

Permalink
Fix for #928
Browse files Browse the repository at this point in the history
  • Loading branch information
jfarcand committed Feb 27, 2013
1 parent dc89401 commit 2a559c8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions modules/jquery/src/main/webapp/jquery/jquery.atmosphere.js
Original file line number Diff line number Diff line change
Expand Up @@ -2440,6 +2440,9 @@ jQuery.atmosphere = function() {
// Suppose you can subscribe once to an url
if (rq.getUrl() == url) {
rq.close();
if (rq.enableProtocol()) {
jQuery.ajax({url: url + "?X-Atmosphere-Transport=close&X-Atmosphere-tracking-id=" + rq.getUUID(), async:false});
}
clearTimeout(rq.id);
idx = i;
break;
Expand Down

0 comments on commit 2a559c8

Please sign in to comment.