Query on Bundle.unload()

Hi All,

I am trying to implement the unload() method in Bundle.The API document says that “unload dynamically unloads the executable which is supported from OS X v10.5 and later)”. I am wondering whether its applicable on linux ? If its applicable can CFBundleUnloadExecutable be used to unload plugin or framework or binary ?

Thanks & Regards

-Sai Hema

Hi Sai,

What I understand from the Swift runtime team is that unloading of Swift executables is basically unsupported. There are a lot of challenges to getting unloading right in general, because it can remove things like “constant” strings and cause mysterious crashes.

- Tony

···

On Aug 3, 2016, at 5:05 AM, Sai Kanduri via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

Hi All,

I am trying to implement the unload() method in Bundle.The API document says that “unload dynamically unloads the executable which is supported from OS X v10.5 and later)”. I am wondering whether its applicable on linux ? If its applicable can CFBundleUnloadExecutable be used to unload plugin or framework or binary ?

Thanks & Regards
-Sai Hema

_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev