diff options
| author | Jim Mussared <jim.mussared@gmail.com> | 2023-11-06 16:36:15 +1100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2023-12-21 11:04:59 +1100 |
| commit | 8b24aa36ba978eafc6114b6798b47b7bfecdca26 (patch) | |
| tree | 4ecc41a47d2619b7c897f7b3abc7ad991300f88e /py/qstrdefs.h | |
| parent | e9bcd49b3ef7bcf69026c747411408061b3a46be (diff) | |
extmod/modselect: Handle growing the pollfds allocation correctly.
The poll_obj_t instances have their pollfd field point into this
allocation. So if re-allocating results in a move, we need to update the
existing poll_obj_t's.
Update the test to cover this case.
Fixes issue #12887.
This work was funded through GitHub Sponsors.
Signed-off-by: Jim Mussared <jim.mussared@gmail.com>
Diffstat (limited to 'py/qstrdefs.h')
0 files changed, 0 insertions, 0 deletions
