Reduce memleaks tests time by ~30%
This commit is contained in:
parent
094a64e3d9
commit
1ff0984eea
|
@ -17,7 +17,7 @@ int main(int argc, char *argv[]){
|
|||
threadpool thpool = thpool_init(num_threads);
|
||||
thpool_destroy(thpool);
|
||||
|
||||
sleep(1); // Sometimes main exits before thpool_destroy finished 100%
|
||||
sleep(0.5); // Sometimes main exits before thpool_destroy finished 100%
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue