Igalia / WPEBackend-fdo

BSD 2-Clause "Simplified" License
31 stars 24 forks source link

Add some checks to ensure we properly bind server globals #150

Closed mcatanzaro closed 3 years ago

mcatanzaro commented 3 years ago

If we fail to bind any global objects, we are going to crash. Let's do that as nicely as possible using g_error(), rather than dereferencing null pointers later on.

Suggested by #145

aperezdc commented 3 years ago

Thanks @mcatanzaro 😃