MXS-936: destroyInstance interface change
MXS-936: destroyInstance interface change
This commit is contained in:
parent
de18f25cb8
commit
61f0603e39
@ -83,7 +83,7 @@ typedef struct router_object
|
||||
error_action_t action,
|
||||
bool* succp);
|
||||
uint64_t (*getCapabilities)(void);
|
||||
void (*destroyInstance)(SERVICE *service);
|
||||
void (*destroyInstance)(ROUTER *instance);
|
||||
} ROUTER_OBJECT;
|
||||
|
||||
/**
|
||||
|
@ -1831,7 +1831,7 @@ void service_shutdown()
|
||||
/* Call destroyInstance hook for routers */
|
||||
if (svc->router->destroyInstance)
|
||||
{
|
||||
svc->router->destroyInstance(svc);
|
||||
svc->router->destroyInstance(svc->router_instance);
|
||||
}
|
||||
svc = svc->next;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user