Dealloc a viewcontroller warning

15,425
DispatchQueue.main.async(execute: {
  // put your code to do allocate new viewController from 
  // another viewController here to ensure running in main thread
})
Share:
15,425
TheZozoOwner
Author by

TheZozoOwner

Working as a Software Developer. Been doing it for more than 5 years. At my current workplace, I have been working with C# and React. I'm learning much about the cloud and how to migrate to it. Everything from CI/CD to Infrastructure as code. Coooooool stuff!

Updated on July 23, 2022

Comments

  • TheZozoOwner
    TheZozoOwner almost 2 years

    I am getting this warning which is very annoying. Problem occurs when I tried to allocate new viewController from another viewController. Has anybody seen this warning before? What can I do to make it disappear? It important for me to fix it.

    2016-09-19 16:55:09.216523 App[5204:1274804] [Common] _BSMachError: port e26f; (os/kern) invalid capability (0x14) "Unable to insert COPY_SEND"
    2016-09-19 16:55:09.217554 App[5204:1274804] [Common] _BSMachError: port e26f; (os/kern) invalid name (0xf) "Unable to deallocate send right"