Js closes the program.
Posted: Sun May 03, 2020 8:15 am
Js closes the program.
The situation is
That when js calls window.close the form on which TCEFWindowParent hangs is trying to close. I don’t need it spoils the entire program system if I stop putting some variables in FormCloseQuery. As I understand it, this is just a post message that can be deleted and that’s it. Only where I do not know. in which module. I will track that this happens when TCEFWindowParent is deleted. farther Code stoped it doesn’t go and FormCloseQuery is called,
to me really need to find either this line in the modules or another solution without adding code to FormCloseQuery
This happens with window.close in other cases, everything works well.
I use before closing the browsers event through synchronization I delete Parent and as soon as it succeeds immediately for some reason FormCloseQuery is called
The situation is
That when js calls window.close the form on which TCEFWindowParent hangs is trying to close. I don’t need it spoils the entire program system if I stop putting some variables in FormCloseQuery. As I understand it, this is just a post message that can be deleted and that’s it. Only where I do not know. in which module. I will track that this happens when TCEFWindowParent is deleted. farther Code stoped it doesn’t go and FormCloseQuery is called,
to me really need to find either this line in the modules or another solution without adding code to FormCloseQuery
This happens with window.close in other cases, everything works well.
I use before closing the browsers event through synchronization I delete Parent and as soon as it succeeds immediately for some reason FormCloseQuery is called