| 279 | } |
| 280 | |
| 281 | void LibraryManager::Cleanup() |
| 282 | { |
| 283 | DetourTransactionBegin(); |
| 284 | DetourUpdateThread(GetCurrentThread()); |
| 285 | |
| 286 | StatusHitEnter.Unwrap(); |
| 287 | StatusHealEnter.Unwrap(); |
| 288 | CharacterHitHook.Unwrap(); |
| 289 | ApplyStatusHook.Unwrap(); |
| 290 | |
| 291 | DetourTransactionCommit(); |
| 292 | } |
| 293 | |
| 294 | void LibraryManager::ShowStartupError(std::wstring const & msg) |
| 295 | { |