Fix a bug in the unlock for the library
Signed-off-by: Gavin Howard <[email protected]>
This commit is contained in:
parent
7ad047d503
commit
4277d5ad1a
|
@ -42,14 +42,14 @@
|
|||
#
|
||||
# For Linux, run two separate ones (in different checkouts), like so:
|
||||
#
|
||||
# scripts/release.sh 1 1 1 0 1 0 0 1 0 1 0 1 1 0
|
||||
# scripts/release.sh 1 1 1 0 1 0 0 1 0 1 0 1 0 0
|
||||
# scripts/release.sh 1 1 0 1 0 1 0 1 0 1 0 0 1 1
|
||||
#
|
||||
# Yes, I usually do sanitizers with Clang and Valgrind with GCC.
|
||||
#
|
||||
# To run sanitizers or Valgrind with generated tests, use the following:
|
||||
#
|
||||
# scripts/release.sh 1 1 1 0 1 0 0 1 0 1 0 1 1 0
|
||||
# scripts/release.sh 1 1 1 0 1 0 0 1 0 1 0 1 0 0
|
||||
# scripts/release.sh 1 1 0 1 0 1 0 1 0 1 0 0 1 1
|
||||
#
|
||||
# The reason I run history tests with GCC and not with Clang is because Clang
|
||||
|
|
|
@ -170,10 +170,10 @@ void bcl_free(void) {
|
|||
|
||||
bc_vm_atexit();
|
||||
|
||||
memset(&vm, 0, sizeof(BcVm));
|
||||
|
||||
BC_SIG_UNLOCK;
|
||||
|
||||
memset(&vm, 0, sizeof(BcVm));
|
||||
|
||||
assert(!vm.running && !vm.sig && !vm.sig_lock);
|
||||
}
|
||||
|
||||
|
|
Loadingâ¦
Reference in New Issue