mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-16 13:23:26 +00:00
Sentry: use locked contexts to send data to avoid races
This commit is contained in:
@@ -24,6 +24,7 @@ public:
|
||||
void AddErrorBreadcrumb(const std::string& msg, const std::string& file, const std::string& line);
|
||||
// cleared when Logged
|
||||
void SetTransaction(const std::string& id);
|
||||
[[nodiscard]] std::unique_lock<std::mutex> CreateExclusiveContext();
|
||||
|
||||
private:
|
||||
bool mValid { true };
|
||||
|
||||
Reference in New Issue
Block a user