Skip to content

Commit

Permalink
fix(mme): Stop timer in right service303 thread (#7952)
Browse files Browse the repository at this point in the history
Service303 has two zmq threads the timer was being stopped in the
wrong threads exit path, this resulted in occasional timer stop
asserts


Signed-off-by: Amar Padmanabhan <amar@freedomfi.com>

Co-authored-by: Amar Padmanabhan <amar@freedomfi.com>
  • Loading branch information
2 people authored and themarwhal committed Jul 16, 2021
1 parent 807d858 commit 5720e08
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lte/gateway/c/core/oai/tasks/service303/service303_task.c
Expand Up @@ -145,6 +145,7 @@ static void service303_server_exit(void) {
}

static void service303_message_exit(void) {
stop_timer(&service303_message_task_zmq_ctx, display_stats_timer_id);
destroy_task_context(&service303_message_task_zmq_ctx);
OAI_FPRINTF_INFO("TASK_SERVICE303 terminated\n");
pthread_exit(NULL);
Expand Down

0 comments on commit 5720e08

Please sign in to comment.