diff options
author | 2014-04-29 11:28:00 -0700 | |
---|---|---|
committer | 2014-04-29 11:28:00 -0700 | |
commit | a949f0b0c3b3a257b93f87e4db05f0268582bb06 (patch) | |
tree | 1efc067bb3d92fb3ce3253330bdf1a424179b85a /fish_tests.cpp | |
parent | ffc23046a2dd2963a5a434d86326b12f74bb1cee (diff) |
Move universal variable callbacks out from under the lock, to avoid a
possible deadlock on reentrancy
Diffstat (limited to 'fish_tests.cpp')
-rw-r--r-- | fish_tests.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/fish_tests.cpp b/fish_tests.cpp index b761f691..73a63a88 100644 --- a/fish_tests.cpp +++ b/fish_tests.cpp @@ -2170,7 +2170,7 @@ static int test_universal_helper(int *x) const wcstring key = format_string(L"key_%d_%d", *x, j); const wcstring val = format_string(L"val_%d_%d", *x, j); uvars.set(key, val, false); - bool synced = uvars.sync(); + bool synced = uvars.sync(NULL); if (! synced) { err(L"Failed to sync universal variables"); |