multicast bugfix: don't hold context any more

This commit is contained in:
云风
2012-10-12 12:15:10 +08:00
parent 4fb7fec2fa
commit a93e6b8868
4 changed files with 51 additions and 55 deletions

View File

@@ -132,12 +132,6 @@ skynet_context_release(struct skynet_context *ctx) {
return ctx;
}
int
skynet_context_ref(struct skynet_context *ctx) {
return ctx->ref;
}
int
skynet_context_push(uint32_t handle, struct skynet_message *message) {
struct skynet_context * ctx = skynet_handle_grab(handle);