Skip to content

Commit

Permalink
Initialize event listener to nullptr (#1299)
Browse files Browse the repository at this point in the history
  • Loading branch information
lodoyun authored Sep 20, 2018
1 parent cbcfcb1 commit 520e265
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions erizo/src/erizo/MediaStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ MediaStream::MediaStream(std::shared_ptr<Worker> worker,
const std::string& media_stream_label,
bool is_publisher) :
audio_enabled_{false}, video_enabled_{false},
media_stream_event_listener_{nullptr},
connection_{std::move(connection)},
stream_id_{media_stream_id},
mslabel_ {media_stream_label},
Expand Down

0 comments on commit 520e265

Please sign in to comment.