Ignore:
Timestamp:
Sep 1, 2023, 3:54:35 PM (8 months ago)
Author:
caparsons <caparson@…>
Branches:
master
Children:
8a9a3ab
Parents:
7e1dbd7
Message:

fixed unhandled exception bug causing deleted memory to be accessed sometimes with full coroutines

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/exception.cfa

    r7e1dbd7 r4269d1b  
    5757        struct coroutine$ * src = (coroutine$ *)stop_param;
    5858        struct coroutine$ * dst = src->last;
    59 
     59    dst->cancellation = 1p;
    6060        $ctx_switch( src, dst );
    6161        abort();
Note: See TracChangeset for help on using the changeset viewer.