detatchInterrupt() Photon not working properly?

Hi All,

I am running into a problem with detatchInterrupt() it is not detaching from the IO pin. My code calls for me to attach the interrupt use it for a while detach it and then later on reattach it again in the same code cycle. What is happening is I am getting an interrupt after I have detached the interrupt the first time and have yet to reattach it.

I am building with the develop branch.

Is there some sort of test that can be made to make sure an interrupt has been detached. I am wondering about multiple tries to detach with a delay?

Has anyone seen this?