xamarin-macios/tests/bindings-test
Rolf Bjarne Kvinge 98837dbfd0
[ObjCRuntime] Don't double-retain blocks. (#3717) (#3730)
First there was darkness; no blocks were retained.

Then came the light; and all blocks were retained [1]

Forever.

But all that once is, must one day not be,
and thus the light gave way to darkness,
and blocks were only retained as long as need be [2].

But before there was a balance, there was a crossroad.

In some places the light shone forever,
and all blocks were retained.

In other places there was a balance,
and the light shone only as long as needed.

A desire to unify arose.

Alas, it could not be.

It was a bright and sunny day

When a merge failed [3].

And all blocks were retained. Twice.

Once [here][4] and once [there][5].

For many years we could not see.

Until a dark and rainy night,
when an awareness arose.

And the desire to unify the balance could finally be fulfilled.

[1]: 6efca92acb
[2]: a22f877539
[3]: befa0477cf
[4]: 5158a3c001/src/ObjCRuntime/Runtime.cs (L858)
[5]: 5158a3c001/runtime/runtime.m (L2091)
2018-03-13 19:24:44 +01:00
..
ApiDefinition.cs [ObjCRuntime] Don't double-retain blocks. (#3717) (#3730) 2018-03-13 19:24:44 +01:00
ApiProtocol.cs [tests] Build the native test library for macOS and create a binding project for it. (#3373) 2018-02-02 11:14:44 +01:00
ProtocolTest.cs [tests] Update tests to cope with removal of the dynamic registrar. 2018-02-15 10:24:30 +01:00
RegistrarBindingTest.cs [ObjCRuntime] Don't double-retain blocks. (#3717) (#3730) 2018-03-13 19:24:44 +01:00
StructsAndEnums.cs Optimize calls to BlockLiteral.SetupBlock to inject the block signature. (#3391) 2018-02-06 07:08:15 +01:00
bindings-test-mac.csproj [ObjCRuntime] Don't double-retain blocks. (#3717) (#3730) 2018-03-13 19:24:44 +01:00
bindings-test.csproj [static registrar] Optimize creation of delegates for blocks. (#3623) (#3644) 2018-03-05 07:41:28 +01:00
libtest.linkwith.cs [tests] Since libtest.a need ModelIO now, the corresponding LinkWith attributes need to state that too. 2017-09-01 11:14:46 +02:00