Skip to content

Commit

Permalink
update call
Browse files Browse the repository at this point in the history
  • Loading branch information
AnxiangLemon committed Sep 21, 2024
1 parent 9f02bef commit 07ba897
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions frida/script.go
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ func (s *Script) ExportsCallWithContext(ctx context.Context, fn string, args ...
case ret := <-ch:
return ret
}

}

// Clean will clean the resources held by the script.
Expand Down Expand Up @@ -166,7 +165,6 @@ func (s *Script) hijackFn(message string, data []byte) {
ch := callerCh.(chan any)
ch <- ret
rpcCalls.Delete(rpcID)

} else {
var args []reflect.Value
switch s.fn.Type().NumIn() {
Expand Down Expand Up @@ -239,7 +237,6 @@ func releaseChannel(ch chan any) {
select {
case <-ch:
default:

}
channelPool.Put(ch)
}

0 comments on commit 07ba897

Please sign in to comment.