mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-07-21 02:05:38 +00:00
test: call pw_deinit() at the end of the context tests
This commit is contained in:
parent
ff85c2835f
commit
1f497f3248
|
@ -60,6 +60,8 @@ PWTEST(context_abi)
|
|||
pwtest_int_eq(PW_VERSION_CONTEXT_EVENTS, 0);
|
||||
pwtest_int_eq(sizeof(ev), sizeof(test));
|
||||
|
||||
pw_deinit();
|
||||
|
||||
return PWTEST_PASS;
|
||||
}
|
||||
|
||||
|
@ -168,6 +170,8 @@ PWTEST(context_create)
|
|||
pwtest_int_eq(global_removed_count, 2);
|
||||
pw_main_loop_destroy(loop);
|
||||
|
||||
pw_deinit();
|
||||
|
||||
return PWTEST_PASS;
|
||||
}
|
||||
|
||||
|
@ -215,6 +219,8 @@ PWTEST(context_properties)
|
|||
pw_context_destroy(context);
|
||||
pw_main_loop_destroy(loop);
|
||||
|
||||
pw_deinit();
|
||||
|
||||
return PWTEST_PASS;
|
||||
}
|
||||
|
||||
|
@ -255,6 +261,8 @@ PWTEST(context_support)
|
|||
pw_context_destroy(context);
|
||||
pw_main_loop_destroy(loop);
|
||||
|
||||
pw_deinit();
|
||||
|
||||
return PWTEST_PASS;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue