summaryrefslogtreecommitdiff
path: root/main/cel.c
diff options
context:
space:
mode:
Diffstat (limited to 'main/cel.c')
-rw-r--r--main/cel.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/main/cel.c b/main/cel.c
index b9f992f6f..db51361e9 100644
--- a/main/cel.c
+++ b/main/cel.c
@@ -1614,9 +1614,7 @@ void ast_cel_publish_event(struct ast_channel *chan,
"event_type", event_type,
"event_details", blob);
- ast_channel_lock(chan);
message = ast_channel_blob_create(chan, cel_generic_type(), cel_blob);
- ast_channel_unlock(chan);
if (message) {
stasis_publish(ast_cel_topic(), message);
}