mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-03 02:27:48 +00:00
runtime: fix regression introduced by merging conflicting PRs
This commit is contained in:
committed by
Ron Evans
parent
dd1ebbd31b
commit
5f252b3e16
@@ -475,7 +475,7 @@ func signal_recv() uint32 {
|
||||
// again), and false otherwise.
|
||||
func checkSignals() bool {
|
||||
if receivedSignals.Load() != 0 && signalRecvWaiter != nil {
|
||||
runqueuePushBack(signalRecvWaiter)
|
||||
scheduleTask(signalRecvWaiter)
|
||||
signalRecvWaiter = nil
|
||||
return true
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user