Crash & relaunch when I wake Macbook Pro

Whenever I raise the lid of my Macbook Pro to awaken it from sleep, BTT and its 3 helper apps crash and relaunch. (All show new process ID's in Activity Monitor.)

A separate bug is that this crash also erases the value of persistent string variables, which implies that they are not being saved to disk.

The problem remains after I deleted com.hegenberg.BetterTouchTool.plist and the BTT Applications Support folder.

MacOS 10.13.6
2017 Touch Bar Macbook Pro

Console log entries at time lid opened:

Aug 6 15:56:51 MBP2017 com.apple.xpc.launchd[1] (com.apple.xpc.launchd.oneshot.0x1000018a.BetterTouchTool[5782]): Service exited due to signal: Terminated: 15 sent by BTTRelaunch[5786]

Aug 6 15:56:52 MBP2017 com.apple.xpc.launchd[1] (com.hegenberg.BTTRelaunch.14196[5786]): Service exited due to signal: Terminated: 15 sent by BetterTouchTool[12840]

Aug 6 15:56:52 MBP2017 com.apple.xpc.launchd[1] (com.hegenberg.BetterTouchToolShellScriptRunner[5785]): Service exited due to signal: Killed: 9 sent by BetterTouchToolShellScriptRunner[5785]

Aug 6 15:56:52 MBP2017 BetterTouchTool[12840]: assertion failed: 17G65: libxpc.dylib + 75013 [0BC7AD67-671D-31D4-8B88-C317B8379598]: 0x89

I get the same crash

BTT vers. 2.536

MacOS 10.13.6
2018 MBPTB 13"

Aug 7 15:40:09 Malcolms-MacBook-Pro com.apple.xpc.launchd[1] (com.hegenberg.BetterTouchToolAppleScriptRunner[4779]): Service exited due to signal: Killed: 9 sent by BetterTouchToolAppleScriptRunner[4779]

Aug 7 15:40:09 Malcolms-MacBook-Pro com.apple.xpc.launchd[1] (com.hegenberg.BetterTouchToolScriptRunner[4780]): Service exited due to signal: Killed: 9 sent by BetterTouchToolScriptRunner[4780]

Aug 7 15:40:09 Malcolms-MacBook-Pro systemstats[51]: assertion failed: 17G2208: systemstats + 914800 [D1E75C38-62CE-3D77-9ED3-5F6D38EF0676]: 0x40

Aug 7 15:40:10 Malcolms-MacBook-Pro com.apple.xpc.launchd[1] (com.hegenberg.BTTRelaunch.3204[4782]): Service exited due to signal: Terminated: 15 sent by BetterTouchTool[4806]

Aug 7 15:40:10 Malcolms-MacBook-Pro systemstats[51]: assertion failed: 17G2208: systemstats + 914800 [D1E75C38-62CE-3D77-9ED3-5F6D38EF0676]: 0x40

Aug 7 15:40:11 Malcolms-MacBook-Pro BetterTouchTool[4806]: assertion failed: 17G2208: libxpc.dylib + 75013 [0BC7AD67-671D-31D4-8B88-C317B8379598]: 0x89

These are not crashes, BTT just restarts after sleep to prevent some issues.

The persistent variable issue will be resolved soon.