mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-07-13 18:24:16 +00:00
Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| e25f2b0382 | |||
| e91fee7186 | |||
| bfe9cfd41b | |||
| d4f40ca889 |
@@ -54,6 +54,16 @@ int main(int argc, char** argv) try {
|
|||||||
Application::Console().InitializeLuaConsole(LuaEngine);
|
Application::Console().InitializeLuaConsole(LuaEngine);
|
||||||
Application::CheckForUpdates();
|
Application::CheckForUpdates();
|
||||||
|
|
||||||
|
Sentry.LogError("test error", __FILE__, std::to_string(__LINE__));
|
||||||
|
|
||||||
|
error("goodbye, crashing now");
|
||||||
|
volatile int* a = nullptr;
|
||||||
|
// oh boy
|
||||||
|
*a = -0;
|
||||||
|
a[318008]++;
|
||||||
|
// bye now
|
||||||
|
abort();
|
||||||
|
|
||||||
// TODO: replace
|
// TODO: replace
|
||||||
while (!Shutdown) {
|
while (!Shutdown) {
|
||||||
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
std::this_thread::sleep_for(std::chrono::milliseconds(50));
|
||||||
|
|||||||
Reference in New Issue
Block a user