Changeset 4422579


Ignore:
Timestamp:
Dec 11, 2020, 12:58:15 PM (10 months ago)
Author:
Thierry Delisle <tdelisle@…>
Branches:
arm-eh, jacob/cs343-translation, master, new-ast-unique-expr
Children:
a6e0e4c
Parents:
3bc59b7
Message:

Removed (hopefully) unnecessary setting of active_coroutine().
Should fix crash of build 13247.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcfa/src/concurrency/coroutine.hfa

    r3bc59b7 r4422579  
    144144
    145145        if( unlikely(dst->context.SP == 0p) ) {
    146                 active_thread()->curr_cor = dst;
    147146                __stack_prepare(&dst->stack, 65000);
    148147                __cfactx_start(main, dst, cor, __cfactx_invoke_coroutine);
    149                 active_thread()->curr_cor = src;
    150148        }
    151149
Note: See TracChangeset for help on using the changeset viewer.