Bug 164118 - [OpenWebRTC] Initialize library one time only
Summary: [OpenWebRTC] Initialize library one time only
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Platform (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-10-28 03:31 PDT by Philippe Normand
Modified: 2016-10-31 01:06 PDT (History)
3 users (show)

See Also:


Attachments
patch (1.58 KB, patch)
2016-10-28 03:34 PDT, Philippe Normand
darin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Philippe Normand 2016-10-28 03:31:59 PDT
It is the app responsibility to initialize the OWR library not more than one time. Patch incoming
Comment 1 Philippe Normand 2016-10-28 03:34:06 PDT
Created attachment 293135 [details]
patch
Comment 2 Darin Adler 2016-10-28 11:03:04 PDT
Comment on attachment 293135 [details]
patch

If this function could be called from more than one thread then we would need to use std::call_once instead.
Comment 3 Philippe Normand 2016-10-31 01:06:24 PDT
Committed r208139: <http://trac.webkit.org/changeset/208139>