net: lwm2m: fix context close race condition
Calling lwm2m_rd_client_stop causes the client context to be closed.
Doing this from arbitrary thread other than internal lwm2m engine thread
causes racing condition on lwm2m engine context pointers.
Fixes #42358
Signed-off-by:
Marin Jurjević <marin.jurjevic@hotmail.com>
Loading
Please sign in to comment