Skip to content

疑似一处错误 #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
xiaolong7713 opened this issue Feb 23, 2020 · 1 comment
Closed

疑似一处错误 #12

xiaolong7713 opened this issue Feb 23, 2020 · 1 comment
Labels
bug Something isn't working

Comments

@xiaolong7713
Copy link

https://github.com/Snailclimb/springboot-guide/blob/master/docs/basis/@PostConstruct%E4%B8%[email protected]

@PreDestroy : 当 bean 被 Web 容器的时候被调用,一般用来释放 bean 所持有的资源。。PostConstruct 注解的方法会在Servlet 的destroy()方法之前执行。

这里的PostConstruct注解应该是PreDestroy 吧,是不是笔误了

@Snailclimb
Copy link
Collaborator

是的!老哥,感谢!

@Snailclimb Snailclimb added the bug Something isn't working label Mar 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants