Bugfix PB v6.21 for Linux with Debian 13, Raspberry PI with Debian 13
Code: Select all
;-TOP by mk-soft, v1.01.1, 12.11.2025
; PB v6.21 (Debian 13) Fix C-Backend PB_FreeGtkBase over C-Macro
CompilerIf #PB_Compiler_OS = #PB_OS_Linux And #PB_Compiler_Version = 621
CompilerIf #PB_Compiler_Thread And #PB_Compiler_Backend = #PB_Backend_C
Procedure FixFreeGtkBaseThread()
!#define PB_FreeGtkBase() PB_FreeGtkBase_THREAD()
EndProcedure : FixFreeGtkBaseThread()
CompilerEndIf
CompilerEndIf
MessageRequester("Test", "Test")
PB v6.21:
Bug Linux C-backend Intel and ARM with ThreadSafe in PB_EndFunctions
Code: Select all
//
void PB_EndFunctions() {
PB_Event_Free();
PB_FreeGtkBase(); // <--- Must be PB_FreeGtkBase_THREAD();
PB_FreeObjects();
PB_FreeMemorys();
}
// 