File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change @@ -16,6 +16,10 @@ All notable changes to this RDK Service will be documented in this file.
16
16
17
17
* For more details, refer to [ versioning] ( https://github.com/rdkcentral/rdkservices#versioning ) section under Main README.
18
18
19
+ ## [ 2.0.1] - 2024-12-03
20
+ ### Fixed
21
+ - Fixed unhandled exception that was occasionally causing a crash if thread creation failed.
22
+
19
23
## [ 2.0.0] - 2024-10-15
20
24
### Removed
21
25
- Get and Set Delay Offset support has been removed.
Original file line number Diff line number Diff line change @@ -582,7 +582,11 @@ namespace WPEFramework {
582
582
m_service = service;
583
583
m_service->AddRef ();
584
584
585
- m_sendMsgThread = std::thread (sendMsgThread);
585
+ try {
586
+ m_sendMsgThread = std::thread (sendMsgThread);
587
+ } catch (const std::system_error& e) {
588
+ LOGERR (" Failed to start m_sendMsgThread: %s" , e.what ());
589
+ }
586
590
m_timer.connect (std::bind (&DisplaySettings::onTimer, this ));
587
591
m_AudioDeviceDetectTimer.connect (std::bind (&DisplaySettings::checkAudioDeviceDetectionTimer, this ));
588
592
m_ArcDetectionTimer.connect (std::bind (&DisplaySettings::checkArcDeviceConnected, this ));
You can’t perform that action at this time.
0 commit comments