ArduPilot SITL UART proposal prevents shutdown hangs with unread serial data
ArduPilot PR 34977 reports that SITL's UARTDriver:: flush() can wait forever during reboot if the SERIAL0 client stops reading or closes, or if baud limiting is enabled. It proposes bounded shutdown behavior.
Mon, 9 Nov 2026
A simulator that hangs on teardown can hide the result of the preceding test and disrupt CI feedback about real autopilot changes.
Reproduce with a deliberately stalled serial client and assert a clean timeout or exit. The proposed change concerns simulator robustness, not airborne UART behavior.