Skip to content

Commit

Permalink
#2 replace abort with Rcpp::stop
Browse files Browse the repository at this point in the history
  • Loading branch information
jwijffels committed Jan 23, 2024
1 parent 9ae3f26 commit 0555cc3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/webrtc/rtc_base/checks.cc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#include <Rcpp.h>
/*
* Copyright 2006 The WebRTC Project Authors. All rights reserved.
*
Expand Down Expand Up @@ -76,7 +77,8 @@ RTC_NORETURN void WriteFatalLog(absl::string_view output) {
#if defined(WEBRTC_WIN)
DebugBreak();
#endif
abort();
//abort();
Rcpp::stop("webrtc error");
}

RTC_NORETURN void WriteFatalLog(const char* file,
Expand Down

0 comments on commit 0555cc3

Please sign in to comment.