Closed Bug 1523979 Opened 6 years ago Closed 6 years ago

Make Glean initialization as fool-proof as possible in the context of multiple libraries using Glean

Categories

(Toolkit :: Telemetry, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: mdroettboom, Assigned: mdroettboom)

References

Details

(Whiteboard: [telemetry:mobilesdk:m4] )

Attachments

(1 file)

:tlong made a good point elsewhere: Won't the libraries have to either try and initialize, or wait for initialization before they can do anything with Glean? I know that the init function throws an IllegalStateException but is that going to be an issue for a consuming application/library? I know that it can be handled with a try but that seems like a harsh way to indicate that the library is already initialized. Also, what happens if a library tries to initialize with a different configuration?

I would summarize this as: Make sure initialization is as straightforward and fool-proof as possible in light of the new multiple-libraries-using-glean-together world.

Assignee: nobody → mdroettboom
Blocks: 1491345, 1505395
Depends on: 1523307
Whiteboard: [telemetry:mobilesdk:m4]
Attached file GitHub Pull Request (deleted) —
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: