mirror of
https://review.haiku-os.org/haiku
synced 2025-01-19 21:11:28 +01:00
6a80e6889a
The signal to the team/thread is only actually sent in a deferred procedure. To ensure that the team/thread stays valid between the DPC being queued and it actually running, we need to acquire a reference. Fixes #11390, where the DPC was run after the team was already destroyed.