C
Qt Cluster: Rendering and Recovery from Main UI Failure
// Copyright (C) 2020 The Qt Company Ltd.
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR BSD-3-Clause
// This file is part of the Qt Safe Renderer module
#include "crasher.h"
Crasher::Crasher(QObject *parent)
: QObject(parent)
{
}
void Crasher::crash()
{
int *ptr = nullptr;
*ptr = 0xdeadbeef;
}