FLinkerSave::CloseAndDestroySaver

Closes and deletes the Saver (file, memory or custom writer) which will close any associated file handle.

Choose your operating system:

Windows

macOS

Linux

References

Module

CoreUObject

Header

/Engine/Source/Runtime/CoreUObject/Public/UObject/LinkerSave.h

Include

#include "UObject/LinkerSave.h"

Source

/Engine/Source/Runtime/CoreUObject/Private/UObject/LinkerSave.cpp

Syntax

bool CloseAndDestroySaver()

Remarks

Closes and deletes the Saver (file, memory or custom writer) which will close any associated file handle. Returns false if the owned saver contains errors after closing it, true otherwise.