aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ruby/ext/grpc/rb_channel.c
diff options
context:
space:
mode:
authorGravatar Alexander Polcyn <apolcyn@google.com>2017-05-16 17:16:05 -0700
committerGravatar Alexander Polcyn <apolcyn@google.com>2017-05-16 17:16:05 -0700
commit0e2b6a2109fdb53884094de6c2395bd49fbf13e1 (patch)
treee4c24ded1ab5f76c3efddc78adea2a651e8b62c3 /src/ruby/ext/grpc/rb_channel.c
parentb2c0b7bc7411c0914e2f65d56096ecde1a207b53 (diff)
remove debug prints
Diffstat (limited to 'src/ruby/ext/grpc/rb_channel.c')
-rw-r--r--src/ruby/ext/grpc/rb_channel.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/ruby/ext/grpc/rb_channel.c b/src/ruby/ext/grpc/rb_channel.c
index 973a45adf5..c96dc672ce 100644
--- a/src/ruby/ext/grpc/rb_channel.c
+++ b/src/ruby/ext/grpc/rb_channel.c
@@ -161,7 +161,6 @@ void grpc_rb_channel_free(void *p) {
if (p == NULL) {
return;
};
- gpr_log(GPR_DEBUG, "channel GC function called!");
ch = (grpc_rb_channel *)p;
if (ch->bg_wrapped != NULL) {
@@ -495,7 +494,6 @@ VALUE grpc_rb_channel_get_target(VALUE self) {
int bg_watched_channel_list_lookup(bg_watched_channel *target) {
bg_watched_channel *cur = bg_watched_channel_list_head;
- gpr_log(GPR_DEBUG, "check contains");
while (cur != NULL) {
if (cur == target) {
return 1;
@@ -510,7 +508,6 @@ int bg_watched_channel_list_lookup(bg_watched_channel *target) {
bg_watched_channel *bg_watched_channel_list_create_and_add(grpc_channel *channel) {
bg_watched_channel *watched = gpr_zalloc(sizeof(bg_watched_channel));
- gpr_log(GPR_DEBUG, "add bg");
watched->channel = channel;
watched->next = bg_watched_channel_list_head;
watched->refcount = 1;
@@ -522,7 +519,6 @@ bg_watched_channel *bg_watched_channel_list_create_and_add(grpc_channel *channel
void bg_watched_channel_list_free_and_remove(bg_watched_channel *target) {
bg_watched_channel *bg = NULL;
- gpr_log(GPR_DEBUG, "remove bg");
GPR_ASSERT(bg_watched_channel_list_lookup(target));
GPR_ASSERT(target->channel_destroyed && target->refcount == 0);
if (bg_watched_channel_list_head == target) {