mirror of
https://gitee.com/energye/energy.git
synced 2024-12-02 03:37:48 +08:00
upgrade-dev v2.3.4
This commit is contained in:
parent
bebc4385c0
commit
c007b878b5
@ -353,8 +353,8 @@ func init() {
|
||||
if !*result {
|
||||
*result = renderProcessMessageReceived(browse, frame, processId, message)
|
||||
}
|
||||
frame.Free()
|
||||
browse.Free()
|
||||
//frame.Free()
|
||||
//browse.Free()
|
||||
message.Free()
|
||||
default:
|
||||
return false
|
||||
|
@ -86,8 +86,8 @@ func init() {
|
||||
if !*result {
|
||||
*result = browserProcessMessageReceived(browse, frame, processId, message)
|
||||
}
|
||||
frame.Free()
|
||||
browse.Free()
|
||||
//frame.Free()
|
||||
//browse.Free()
|
||||
message.Free()
|
||||
case ChromiumEventOnResourceLoadComplete:
|
||||
sender, browse, frame, request, response := resourceEventGet(fn, getVal, true)
|
||||
|
@ -139,6 +139,17 @@
|
||||
|
||||
});
|
||||
|
||||
let tgesi = null
|
||||
|
||||
function autotestGoEmit() {
|
||||
if (tgesi != null) {
|
||||
clearInterval(tgesi)
|
||||
tgesi = null
|
||||
return
|
||||
}
|
||||
tgesi = setInterval(testGoEmit, 1)
|
||||
}
|
||||
|
||||
function testGoEmit() {
|
||||
ipc.emit("testGoEmit");
|
||||
}
|
||||
@ -170,6 +181,7 @@
|
||||
<button onclick="testResultArgs()">testResultArgs</button>
|
||||
<br>
|
||||
<button onclick="testGoEmit()">testGoEmit</button>
|
||||
<button onclick="autotestGoEmit()">自动testGoEmit</button>
|
||||
<br>
|
||||
<button onclick="bindFunc()">bindFunc</button>
|
||||
<button onclick="bindField()">bindField</button>
|
||||
|
Loading…
Reference in New Issue
Block a user