Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | zjf0123 |
There is such a code
func a():
b()
func b():
await c.signal
This should be an asynchronous call. What happens if object c is released while the “await” is waiting for the signal?
If I use such code extensively in my project, will it cause hidden dangers?