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) lock (this)
{ {
Remove (); Dispose();
} }
} }
return cont; return cont;

View File

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