IOThread: use FatalError() on g_thread_create() error

New GLib versions don't fail.
This commit is contained in:
Max Kellermann
2013-09-03 11:28:47 +02:00
parent bbd7115564
commit 4db119c01b
10 changed files with 15 additions and 49 deletions

@ -134,11 +134,7 @@ int main(int argc, char **argv)
config_global_init();
io_thread_init();
if (!io_thread_start(&error)) {
g_warning("%s", error->message);
g_error_free(error);
return EXIT_FAILURE;
}
io_thread_start();
#ifdef ENABLE_ARCHIVE
archive_plugin_init_all();