coroutine: fix bug #9355


[SVN r86679]