queue fixes

This commit is contained in:
slothdpal
2025-09-26 16:50:58 +03:00
parent f458a2d5e5
commit d3bb5e10f6
4 changed files with 56 additions and 16 deletions

View File

@@ -9,15 +9,19 @@ using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using Process_Auto_Relaunch;
using RelaunchProcess.Properties;
namespace RelaunchProcess
{
public partial class WebhookSettings : Form
{
public WebhookSettings()
private Form1 parent;
public WebhookSettings(Form1 _parent)
{
InitializeComponent();
parent = _parent;
RestoreSettings();
}
@@ -64,6 +68,10 @@ namespace RelaunchProcess
{
chbxDiscordEnabled.Checked = false;
}
if (!chbxDiscordEnabled.Checked)
{
parent.dwhHook.CancelProcessing();
}
SaveSettings();
DialogResult = DialogResult.OK;
Close();