/* * Copyright (c) 2024, Andrew Kaster * * SPDX-License-Identifier: BSD-2-Clause */ #include #include namespace WebView { Process::Process(ProcessType type, RefPtr connection, Core::Process process) : m_process(move(process)) , m_type(type) , m_connection(move(connection)) { } Process::~Process() { if (m_connection) m_connection->shutdown(); } }