Prevent double removal of timeout sources

See https://github.com/GLibSharp/GtkSharp/pull/49
This commit is contained in:
Mads Kruse Johnsen 2020-10-26 11:44:13 +01:00
parent cd47acba85
commit 7fb112727a
2 changed files with 2 additions and 2 deletions

View file

@ -54,7 +54,7 @@ namespace GLib {
{
lock (this)
{
Remove ();
Dispose();
}
}
return cont;

View file

@ -52,7 +52,7 @@ namespace GLib {
{
lock (this)
{
Remove ();
Dispose();
}
}
return cont;