BPjs icon indicating copy to clipboard operation
BPjs copied to clipboard

Ensure b-threads maintain their closures (if any), during analysis and execution

Open michbarsinai opened this issue 5 years ago • 1 comments

e.g. here:


bp.registerBThread("closuredBThread", (function(e){
return function(){
    // using e as a variable
};
})(anEvent));

the object anEvent should be available to closuredBThread via variable e.

michbarsinai avatar Jun 02 '20 10:06 michbarsinai

And e should be maintained as part of the b-thred's state in verification.

geraw avatar Jun 02 '20 10:06 geraw