Revision 5f0f0227

View differences:

plugins/janus_textroom.c
500 500
	curl_global_init(CURL_GLOBAL_ALL);
501 501
#endif
502 502

  
503
	g_atomic_int_set(&initialized, 1);
504

  
503 505
	GError *error = NULL;
504 506
	/* Start the sessions watchdog */
505 507
	watchdog = g_thread_try_new("textroom watchdog", &janus_textroom_watchdog, NULL, &error);
......
515 517
		JANUS_LOG(LOG_ERR, "Got error %d (%s) trying to launch the TextRoom handler thread...\n", error->code, error->message ? error->message : "??");
516 518
		return -1;
517 519
	}
518
	g_atomic_int_set(&initialized, 1);
519 520
	JANUS_LOG(LOG_INFO, "%s initialized!\n", JANUS_TEXTROOM_NAME);
520 521
	return 0;
521 522
}

Also available in: Unified diff