Ghost participants on refresh in recent Chrome



On recent version of Chrome (testing > 73) when refreshing the page the user reconnects successfully but a ghost participant (a thumb) of him persists for a ~minute.

What may cause this?


This is new in Chrome : “disallowed synchronous ajax during end-of-page events”
I think we should use strophe in async mode especially while disconnecting

Very annoying because if we do 10 refresh we could have 10 ghosts until prosody timeouts each connection.


After refresh ghost participants appears