基础库最低可用版本:2.27.2
MiniProgramError
Module.QuitCleanup is not a function. (In 'Module.QuitCleanup()', 'Module.QuitCleanup' is undefined)
TypeError: Module.QuitCleanup is not a function. (In 'Module.QuitCleanup()', 'Module.QuitCleanup' is undefined)
at _JS_RunQuitCallbacks@weapp: (wxfs/game.js:24685:40606)
wasm-stub@[wasm code]
<?>.wasm-function[j29675]@[wasm code]
<?>.wasm-function[redir_v]@[wasm code]
<?>.wasm-function[j39758]@[wasm code]
at wasm-stub (native code)
at browserIterationFunc@weapp: (wxfs/game.js:24685:305632)
at callUserCallback@weapp: (wxfs/game.js:24685:258502)
at runIter@weapp: (wxfs/game.js:24685:259811)
at Browser_mainLoop_runner@weapp: (wxfs/game.js:24685:257980)
at @weapp: (wxfs/game.js:24610:886)
at @weapp: (wxcommlib/WAGameSubContext.js:1:213286)
at forEach (native code)
at dt@weapp: (wechat-game-runtime:67:189109)
这个bug是退出游戏时报错,原因是微信小游戏不能使用Application.Quit()接口,要调用wx.exitMiniProgram接口