Skip to content

Conversation

@richvdh
Copy link
Member

@richvdh richvdh commented Mar 31, 2022

PR #1205 added a call to matrix_join_room, but did not await the result, which resulted in a bunch of warnings:

 ** Calling ->then in void context at tests/10apidoc/33room-members.pl line 82.
 ** IO::Async::Future=HASH(0x557d6befbf40) IO::Async::Future=HASH(0x557d6befbf40) lost a sequence Future at /home/rav/lib/perl5/Net/Async/HTTP/Connection.pm line 472.

Waiting for the join to complete before proceeding fixes the warnings.

PR #1205 added a call to `matrix_join_room`, but did not await the result,
which resulted in a bunch of warnings:

```
 ** Calling ->then in void context at tests/10apidoc/33room-members.pl line 82.
 ** IO::Async::Future=HASH(0x557d6befbf40) IO::Async::Future=HASH(0x557d6befbf40) lost a sequence Future at /home/rav/lib/perl5/Net/Async/HTTP/Connection.pm line 472.
```

Waiting for the join to complete before proceeding fixes the warnings.
@richvdh richvdh requested a review from a team as a code owner March 31, 2022 14:59
@richvdh richvdh merged commit 7718383 into develop Mar 31, 2022
@richvdh richvdh deleted the rav/fix_voidcontext_warning branch March 31, 2022 19:19
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.

3 participants