| author | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-10-06 19:31:36 UTC |
| committer | Stephen Paul Weber
<singpolyma@singpolyma.net> 2026-10-06 19:31:36 UTC |
| parent | 2b567868dcc8c6a748e343d0c48748b1b2546101 |
| borogove/Push.hx | +4 | -0 |
diff --git a/borogove/Push.hx b/borogove/Push.hx index d3fec48..806c134 100644 --- a/borogove/Push.hx +++ b/borogove/Push.hx @@ -26,6 +26,10 @@ class Push { @returns a Notification representing the push data **/ public static function receive(data: String, persistence: Persistence) { + #if cpp + // Do a big GC before parsing a push notification + cpp.NativeGc.run(true); + #end var stanza = Stanza.parse(data); if (stanza == null) return null; if (stanza.name == "envelope" && stanza.attr.get("xmlns") == "urn:xmpp:sce:1") {