summaryrefslogtreecommitdiff
path: root/test/spec/nop.txt
diff options
context:
space:
mode:
authorMatt Witherspoon <32485495+spoonincode@users.noreply.github.com>2018-08-23 21:39:41 -0400
committerBen Smith <binjimin@gmail.com>2018-08-23 18:39:41 -0700
commit7bfcedf9aff5dfe0fb7d7f4e35d83f5301e8d4ef (patch)
tree7bca1c5cf24ac470b45f149631b2d2a5eebefd14 /test/spec/nop.txt
parent71647d4f0e86a4c738f742f69f65b2cc41d4c004 (diff)
downloadwabt-7bfcedf9aff5dfe0fb7d7f4e35d83f5301e8d4ef.tar.gz
wabt-7bfcedf9aff5dfe0fb7d7f4e35d83f5301e8d4ef.tar.bz2
wabt-7bfcedf9aff5dfe0fb7d7f4e35d83f5301e8d4ef.zip
Reset Executor’s Thread at start of RunFunction (#900)
At the end of Executor::RunFunction(), the Thread is Reset() so that the Executor can be reused for subsequent RunFunction()s. However in some cases the execution won’t make it that far in RunFunction() — for example, if a HostModule’s callback throws an exception. Move the call to the Thread’s Reset() to the start of RunFunction() so that the Thread’s state is always as expected when Executor starts a function.
Diffstat (limited to 'test/spec/nop.txt')
0 files changed, 0 insertions, 0 deletions