[swift-corelibs-dev] Query on Bundle.unload()

Tony Parker anthony.parker at apple.com
Mon Aug 8 11:59:43 CDT 2016

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 at 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 at swift.org
> https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-corelibs-dev/attachments/20160808/d5f92b8b/attachment.html>

More information about the swift-corelibs-dev mailing list