Deferred instantiation of socket implmentations until registration.
Instantiating the implementations on plugin load was problematic in case multiple socket plugins were loaded. Now, the first one registered is instantiated.
This commit is contained in:
@@ -35,10 +35,6 @@ struct socket_default_socket_t {
|
||||
*/
|
||||
socket_t socket;
|
||||
|
||||
/**
|
||||
* Destroy a socket_default_socket_t.
|
||||
*/
|
||||
void (*destroy)(socket_default_socket_t *this);
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user