| 730 | } |
| 731 | |
| 732 | void CustomFunctionInjector::OnCloseHandle(HANDLE hFile, BOOL bSucceeded) |
| 733 | { |
| 734 | if (bSucceeded && !extendingStory_) { |
| 735 | if (storyHeaderFile_ != NULL && hFile == storyHeaderFile_) { |
| 736 | if (esv::ExtensionState::Get().HasFeatureFlag("Osiris")) { |
| 737 | ExtendStoryHeader(storyHeaderPath_); |
| 738 | } |
| 739 | |
| 740 | storyHeaderFile_ = NULL; |
| 741 | } |
| 742 | |
| 743 | if (storyGeneratedFile_ != NULL && hFile == storyGeneratedFile_) { |
| 744 | if (gExtender->GetConfig().DisableStoryCompilation) { |
| 745 | AddJunkToStory(storyGeneratedPath_); |
| 746 | } |
| 747 | |
| 748 | storyHeaderFile_ = NULL; |
| 749 | } |
| 750 | } |
| 751 | } |
| 752 | |
| 753 | } |
nothing calls this directly
no test coverage detected