Browse Source

update admin panel with self-destruct button and fix nil pointer in yp

Conflicts:
	pkged.go
develop
forest 2 months ago
parent
commit
4c8bb05fe2
2 changed files with 4 additions and 2 deletions
  1. +1
    -1
      pkged.go
  2. +3
    -1
      yp/yp.go

+ 1
- 1
pkged.go
File diff suppressed because it is too large
View File


+ 3
- 1
yp/yp.go View File

@ -56,7 +56,9 @@ func (yp *YP) Start() {
// Stop stops the pinging of YP.
func (yp *YP) Stop() {
yp.timer.Stop()
if yp.timer != nil {
yp.timer.Stop()
}
}
func (yp *YP) ping() {


Loading…
Cancel
Save