mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 21:22:09 +00:00
Add hack.diff for mod_managed
This commit is contained in:
@@ -41,5 +41,6 @@ swigclean: clean
|
||||
freeswitch_wrap.cxx:
|
||||
swig -I../../../include -v -O -c++ -csharp -namespace FreeSWITCH.Native -dllimport mod_managed -DSWIG_CSHARP_NO_STRING_HELPER freeswitch.i
|
||||
rm -f ./managed/swig.cs
|
||||
patch -s -p0 -i managed/hack.diff
|
||||
cat *.cs > ./managed/swig.cs
|
||||
rm -f *.cs
|
||||
|
||||
@@ -0,0 +1,11 @@
|
||||
--- switch_event.cs.old 2025-06-18 14:42:04.451534270 +0000
|
||||
+++ switch_event.cs 2025-06-18 14:43:13.731741625 +0000
|
||||
@@ -40,7 +40,7 @@
|
||||
Dispose(false);
|
||||
}
|
||||
|
||||
- public void Dispose() {
|
||||
+ public virtual void Dispose() {
|
||||
Dispose(true);
|
||||
global::System.GC.SuppressFinalize(this);
|
||||
}
|
||||
Reference in New Issue
Block a user