1
0
mirror of https://github.com/SquidDev-CC/CC-Tweaked synced 2024-12-16 13:10:31 +00:00
CC-Tweaked/projects
Jonathan Coates 7eb3b691da
Fix misplaced calls to IArguments.escapes
- Fix mainThread=true methods calling IArguments.escapes too late. This
   should be done before scheduling on the main thread, not on the main
   thread itself!

 - Fix VarargsArguments.escapes not checking that the argument haven't
   been closed. This is slightly prone to race conditions, but I don't
   think it's worth the overhead of tracking the owning thread.

   Maybe when panama and its resource scopes are released.

Thanks Sara for pointing this out!

Slightly irked that none of our tests caught this. Alas.

Also fix a typo in AddressPredicate. Yes, no commit discipline.
2023-06-27 18:28:54 +01:00
..
common Make Generic methods per-ComputerContext 2023-06-26 21:46:55 +01:00
common-api Allow extending UpgradeDataProvider 2023-06-15 18:57:25 +01:00
core Fix misplaced calls to IArguments.escapes 2023-06-27 18:28:54 +01:00
core-api Fix misplaced calls to IArguments.escapes 2023-06-27 18:28:54 +01:00
fabric Clean up how we enumerate Lua/peripheral methods 2023-06-26 19:42:42 +01:00
fabric-api Publish Fabric jars to CF/Modrinth 2023-03-15 23:20:13 +00:00
forge Clean up how we enumerate Lua/peripheral methods 2023-06-26 19:42:42 +01:00
forge-api License CC:T according to the REUSE specification (#1351) 2023-03-15 21:52:13 +00:00
lints License CC:T according to the REUSE specification (#1351) 2023-03-15 21:52:13 +00:00
web Re-license several more files under MPL-2.0 2023-03-28 10:28:59 +01:00
ARCHITECTURE.md License CC:T according to the REUSE specification (#1351) 2023-03-15 21:52:13 +00:00