Ensure room isn't deleted before leave presences are sent

Description

This issue was introduced as part of the FMUC code that went in 4.6.0-beta. As of yet, this code is not released (other than in a beta).

When the last occupant leaves a room, the broadcast of the corresponding 'leave' presence is performed asynchronously. Smack integration tests regularly fail with this error:

It appears that the room is deleted from memory, before the presences have been properly sent.

Environment

None

Activity

Show:
Fixed

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

Created July 2, 2020 at 1:36 PM
Updated July 4, 2020 at 7:12 AM
Resolved July 4, 2020 at 7:12 AM