smartdevicelink / sdl_core

SmartDeviceLink In-Vehicle Software and Sample HMI
BSD 3-Clause "New" or "Revised" License
241 stars 245 forks source link

Resolve a deadlock #3828

Closed OlhaVorobiova closed 2 years ago

OlhaVorobiova commented 2 years ago

Fixes #3817

This PR is ready for review.

Risk

This PR makes no API changes.

Summary

Deadlock is fixed in EventDispatcherImpl class.
Locks are added for map of requests in RequestTimeoutHandlerImpl class. Refactoring in EventDispatcherImpl:

CLA

OlhaVorobiova commented 2 years ago

@theresalech this PR is ready for Livio review