Skip to content
Snippets Groups Projects
  • Dmitry Simonenko's avatar
    4f72d896
    gh-136: move any fiber yield out of catch block. · 4f72d896
    Dmitry Simonenko authored
    This is done to avoid situation, when two or more
    fibers yield inside their try/catch blocks and
    throws an exceptions. Seems like exception unwinder
    stores some global state while being inside
    a catch block.
    
    This could lead to incorrect exception processing
    and server crash.
    4f72d896
    History
    gh-136: move any fiber yield out of catch block.
    Dmitry Simonenko authored
    This is done to avoid situation, when two or more
    fibers yield inside their try/catch blocks and
    throws an exceptions. Seems like exception unwinder
    stores some global state while being inside
    a catch block.
    
    This could lead to incorrect exception processing
    and server crash.