Ryujinx-GtkSharp/Source/Libs/GLibSharp
zii-dmg 0c5bd3f471
Fixed glib source double removal (#327)
Fixed glib source double removal then using Source.Remove (Timeout.Remove, Idle.Remove).
I don't know if fix is correct or safe, but it solves problem that you can test in TimerDemo section from samples.

Repro:
If on Windows you should enable console in samples: <OutputType>Exe</OutputType>
Go to TimerDemo section and press buttons:

1. Add timer
2. Remove timer by handler
3. GC - no error in console

1. Add timer
2. Remove timer
3. GC - error in console "GLib-CRITICAL **: 20:29:41.579: Source ID 123 was not found when attempting to remove it"
2022-01-27 21:49:10 +01:00
..
AbiField.cs
AbiStruct.cs
AbiStructExtensions.cs
Argv.cs Fix file permissions, how did this happen? 2018-02-26 23:03:31 +01:00
Bytes.cs
Cond.cs
ConnectBeforeAttribute.cs
Date.cs
DateTime.cs
DefaultSignalHandlerAttribute.cs
DestroyNotify.cs Fixed glib source double removal (#327) 2022-01-27 21:49:10 +01:00
ExceptionManager.cs
FileUtils.cs
GException.cs GException improvements with multithreading 2021-04-02 18:40:51 +02:00
GInterfaceAdapter.cs
GInterfaceAttribute.cs
GLibSharp-api.xml
GLibSharp.csproj Multitarget with .net6.0 and .netstandard2.0 (#318) 2022-01-26 13:24:28 +01:00
GLibSharp.SourceDummyMarshalNative.cs
GLibSharp.SourceFuncNative.cs
GLibSynchronizationContext.cs
Global.cs introduce IsSupported in <namespace>.Global 2021-07-19 20:13:14 +02:00
GString.cs
GType.cs Disable loading of additional assemblies in AOT context (#314) 2022-01-26 17:52:54 +01:00
GTypeAttribute.cs
HookList.cs Make usage of Marshal.OffsetOf AOT friendly 2021-08-15 20:27:58 +06:00
Idle.cs Fixed glib source double removal (#327) 2022-01-27 21:49:10 +01:00
InitiallyUnowned.cs Ensure to sink floating references passed unowned to GetObject() and to not increase their reference count 2021-01-24 19:55:17 +01:00
IOChannel.cs
IWrapper.cs
KeyFile.cs
List.cs
ListBase.cs
Log.cs
MainContext.cs
MainLoop.cs
ManagedValue.cs
Markup.cs
MarkupParser.cs
Marshaller.cs Reduce usage of Type (#323) 2022-01-26 21:15:18 +01:00
MissingIntPtrCtorException.cs
Mutex.cs
NotifyHandler.cs
Object.cs Make usage of Marshal.OffsetOf AOT friendly 2021-08-15 20:27:58 +06:00
ObjectManager.cs
Opaque.cs
ParamSpec.cs
PollFD.cs
Priority.cs
PropertyAttribute.cs
PtrArray.cs
RecMutex.cs
Signal.cs Update based on PR feedback 2021-07-21 00:24:49 +06:00
SignalArgs.cs
SignalAttribute.cs
SignalClosure.cs Update based on PR feedback 2021-07-21 00:24:49 +06:00
SList.cs Fixed SList ownership 2021-06-10 21:35:54 +03:00
Source.cs Cleanup of sourceproxy Dictionary and its usages 2021-01-24 19:55:17 +01:00
SourceCallbackFuncs.cs
SourceDummyMarshal.cs
SourceFunc.cs
SourceFuncs.cs
Spawn.cs
Thread.cs
Timeout.cs Fixed glib source double removal (#327) 2022-01-27 21:49:10 +01:00
TimeVal.cs Update based on PR feedback 2021-07-21 00:24:49 +06:00
TimeZone.cs Fixtures: added UnmanagedFunctionPointer to whole delegate calls collection to prevent stack incosistence exception for x86 apllications on windows. 2019-11-04 20:12:50 +01:00
ToggleRef.cs Queue freeing of GCHandles instead of freeing them immidiately 2021-01-25 11:07:39 +01:00
TypeFundamentals.cs
TypeInitializerAttribute.cs
TypeNameAttribute.cs
Value.cs Fixed GLib.Value nulls setter 2021-07-17 10:22:40 +02:00
ValueArray.cs ValueArray: Create copy when receiving pointer 2021-01-24 19:55:17 +01:00
Variant.cs
VariantType.cs